fix: serve frontend assets without spa fallback

This commit is contained in:
2026-05-05 11:53:21 +02:00
parent 6c163fd800
commit 185003e001
2 changed files with 9 additions and 0 deletions

View File

@@ -21,6 +21,11 @@
{
"glob": "**/*",
"input": "public"
},
{
"glob": "**/*",
"input": "src/assets",
"output": "assets"
}
],
"styles": [

View File

@@ -5,6 +5,10 @@ server {
root /usr/share/nginx/html;
index index.html;
location /assets/ {
try_files $uri =404;
}
location / {
try_files $uri $uri/ /index.html;
}