From 4523aef9322ac0de0d6caf49c14891e9110dc22c Mon Sep 17 00:00:00 2001 From: KoreX Labs Date: Wed, 16 Sep 2026 00:32:03 -0300 Subject: [PATCH] fix(map): serve MapLibre module worker as JavaScript --- web-v2/nginx/default.conf | 5 +++++ 1 file changed, 5 insertions(+) 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; }