diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2021-12-29 22:54:30 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2021-12-29 22:54:30 +0100 |
commit | 71ee6c99e963d96286cae8d0bfc2f20a9c9c920b (patch) | |
tree | c4d290c4a658853436477cb07cd469684c64f8e3 /web/pw-frontend/vite.config.js | |
parent | 0c6d978442b244ca3f29c1ffdd44b5007ae7ad93 (diff) | |
download | planetwars.dev-71ee6c99e963d96286cae8d0bfc2f20a9c9c920b.tar.xz planetwars.dev-71ee6c99e963d96286cae8d0bfc2f20a9c9c920b.zip |
move assets to visualizer package
Diffstat (limited to 'web/pw-frontend/vite.config.js')
-rw-r--r-- | web/pw-frontend/vite.config.js | 4 |
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: ['..'] + } }, }) |