aboutsummaryrefslogtreecommitdiff
path: root/web/pw-frontend/vite.config.js
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2021-12-29 22:54:30 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2021-12-29 22:54:30 +0100
commit71ee6c99e963d96286cae8d0bfc2f20a9c9c920b (patch)
treec4d290c4a658853436477cb07cd469684c64f8e3 /web/pw-frontend/vite.config.js
parent0c6d978442b244ca3f29c1ffdd44b5007ae7ad93 (diff)
downloadplanetwars.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.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: ['..']
+ }
},
})