Fixed registration routing
This commit is contained in:
parent
149fbdf581
commit
2141f62dca
|
@ -7,9 +7,16 @@ http {
|
|||
error_page 404 /index.html;
|
||||
root /usr/share/nginx/html;
|
||||
location / {
|
||||
rewrite /register/(.*) /$1 break;
|
||||
rewrite /profile/(.*) /$1 break;
|
||||
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location ~* \.(?:ico|css|gif|jpe?g|png)$ {
|
||||
rewrite /register/(.*) /$1 break;
|
||||
rewrite /profile/(.*) /$1 break;
|
||||
|
||||
expires 1y;
|
||||
add_header Pragma public;
|
||||
add_header Cache-Control "public";
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
<div class="mt-6 sm:flex place-content-center">
|
||||
<a
|
||||
class="w-full sm:w-auto inline-flex px-6 py-3 border border-transparent text-base font-semibold rounded-md text-gray-900 bg-white shadow-sm hover:text-gray-600 focus:outline-none focus:text-gray-600 transition ease-in-out duration-150 xl:text-lg xl:py-4"
|
||||
href="./register/"
|
||||
href="./register"
|
||||
>{{ $t('register_now') }}</a>
|
||||
<a
|
||||
href="./profile/"
|
||||
href="./profile"
|
||||
class="mt-4 sm:ml-4 sm:mt-0 w-full sm:w-auto inline-flex px-6 py-3 border border-transparent text-base font-semibold rounded-md text-white bg-gray-800 shadow-sm hover:bg-gray-700 focus:outline-none focus:bg-gray-700 transition ease-in-out duration-150 xl:text-lg xl:py-4"
|
||||
>{{ $t('view_my_data') }}</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user