Move view to view.html for easier routing in nginx

This commit is contained in:
2020-12-03 23:34:14 +01:00
parent b753feaaeb
commit 02a07bf76a
3 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ server {
location / {
# First attempt to serve request as file
# If no such file, show index to allow for client side routing
try_files $uri $uri/ @api;
try_files $uri $uri/ $uri.html @api;
}
location @api {