diff --git a/web-v2/nginx/default.conf b/web-v2/nginx/default.conf index 7ec3c2f..b340cad 100644 --- a/web-v2/nginx/default.conf +++ b/web-v2/nginx/default.conf @@ -4,6 +4,11 @@ server { root /usr/share/nginx/html; index index.html; + location = /assets/maplibre-gl-worker.mjs { + default_type application/javascript; + try_files $uri =404; + } + location / { try_files $uri $uri/ /index.html; }