aboutsummaryrefslogtreecommitdiff
path: root/web/pw-frontend/vite.config.js
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2021-12-25 20:28:10 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2021-12-25 20:28:10 +0100
commit003c551e7320912d468b00905da234ad262b5446 (patch)
treebcdc9da9c05790674265237ffb2a6fb12411c2ea /web/pw-frontend/vite.config.js
parent92a13bac9289fd00a6fa2c70129490fa22ef0661 (diff)
downloadplanetwars.dev-003c551e7320912d468b00905da234ad262b5446.tar.xz
planetwars.dev-003c551e7320912d468b00905da234ad262b5446.zip
implement basic MatchBrowser component
Diffstat (limited to 'web/pw-frontend/vite.config.js')
-rw-r--r--web/pw-frontend/vite.config.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/web/pw-frontend/vite.config.js b/web/pw-frontend/vite.config.js
index e52edb5..a298f2c 100644
--- a/web/pw-frontend/vite.config.js
+++ b/web/pw-frontend/vite.config.js
@@ -16,7 +16,10 @@ export default defineConfig({
commonjsOptions: {
transformMixedEsModules: true,
},
- minify: false,
- target: "modules",
+ },
+ server: {
+ proxy: {
+ "/api/": "http://localhost:5000",
+ },
},
})