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:
@@ -16,7 +16,7 @@
|
||||
<div class="flex flex-wrap items-center gap-3">
|
||||
<div class="rounded-md border border-[#E5E7EB] bg-[#F9FAFB] px-4 py-3 text-sm text-[#15171A]">{{ $pageDate }}</div>
|
||||
<div class="rounded-md border border-[#E5E7EB] bg-[#F9FAFB] px-4 py-3 text-sm text-[#15171A]">{{ $user['username'] }} · {{ $user['nmprodi'] }}</div>
|
||||
<form method="POST" action="{{ route('legacy.logout') }}">
|
||||
<form method="POST" action="{{ route('legacy.logout', [], false) }}">
|
||||
@csrf
|
||||
<button type="submit" class="rounded-md bg-[#15171A] px-5.5 py-2.5 text-sm font-medium text-white hover:opacity-90">Logout</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user