diff options
Diffstat (limited to 'web/pw-frontend/vite.config.js')
-rw-r--r-- | web/pw-frontend/vite.config.js | 7 |
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", + }, }, }) |