add base url to template

This commit is contained in:
reya 2024-01-23 13:35:28 +07:00
commit 67f43d95af
3 changed files with 4 additions and 3 deletions

View file

@ -87,7 +87,7 @@
</h1>
</div>
<form
action="register/{{record.id}}"
action="{{baseUrl}}/register/{{record.id}}"
method="POST"
class="w-full flex flex-col gap-5">
{{#if error}}

View file

@ -52,7 +52,7 @@
</h1>
</div>
<form
action="login"
action="{{baseUrl}}/login"
method="POST"
class="w-full flex flex-col gap-5">