From 71ee6c99e963d96286cae8d0bfc2f20a9c9c920b Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Wed, 29 Dec 2021 22:54:30 +0100 Subject: move assets to visualizer package --- web/pw-frontend/vite.config.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/pw-frontend/vite.config.js') 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: ['..'] + } }, }) -- cgit v1.2.3