aboutsummaryrefslogtreecommitdiff
path: root/web/pw-frontend/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-frontend/vite.config.js')
-rw-r--r--web/pw-frontend/vite.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/pw-frontend/vite.config.js b/web/pw-frontend/vite.config.js
index 84889ec..68e02e2 100644
--- a/web/pw-frontend/vite.config.js
+++ b/web/pw-frontend/vite.config.js
@@ -22,5 +22,9 @@ export default defineConfig({
"/api/": "http://localhost:5000",
"/ws": "ws://localhost:5000/ws",
},
+ fs: {
+ // Allow serving files from one level up to the project root
+ allow: ['..']
+ }
},
})