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:
Power BI Dev
2026-05-03 22:06:46 +07:00
parent b95d7fed02
commit 030bb7c174
17 changed files with 35 additions and 35 deletions

View File

@@ -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>