Use relative URLs for rebuild forms
Avoid mixed-content form submissions behind Coolify by rendering internal links and form actions as relative paths.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
<div class="mt-6 space-y-4">
|
||||
@foreach ($roles as $role)
|
||||
<a href="{{ route('legacy.login', $role['slug']) }}" class="block rounded-xl border border-[#E5E7EB] bg-[#F9FAFB] px-5 py-4 transition hover:border-[#15171A] hover:bg-white">
|
||||
<a href="{{ route('legacy.login', $role['slug'], false) }}" class="block rounded-xl border border-[#E5E7EB] bg-[#F9FAFB] px-5 py-4 transition hover:border-[#15171A] hover:bg-white">
|
||||
<p class="text-base font-semibold text-[#15171A]">{{ $role['name'] }}</p>
|
||||
<p class="mt-2 text-sm leading-7 text-[#5C6A78]">{{ $role['summary'] }}</p>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user