Skip to content

Commit

Permalink
[www] fix asset caching (partial revert of 572f303)
Browse files Browse the repository at this point in the history
I got overzealous with my prefix matching. I want the index.html to be a
fallback route only.
  • Loading branch information
michaelkirk committed Jan 31, 2024
1 parent b2e3cd5 commit 91741ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/frontend/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ http {
add_header Cache-Control "public";
}

location ^~ / {
location / {
try_files ${ESC}uri /index.html;
# From https://quasar.dev/quasar-cli-vite/developing-spa/deploying/
#
Expand Down

0 comments on commit 91741ca

Please sign in to comment.