aboutsummaryrefslogtreecommitdiffstats
path: root/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js15
1 files changed, 9 insertions, 6 deletions
diff --git a/vite.config.js b/vite.config.js
index 22834349..2898d0ad 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -11,12 +11,15 @@ const config = {
},
},
server: {
- proxy: process.env.NODE_ENV === 'development' ? {
- "/api/": {
- target: "http://localhost:3119",
- rewrite: (path) => path.replace(/^\/api\//, ""),
- },
- } : undefined,
+ proxy:
+ process.env.NODE_ENV === "development"
+ ? {
+ "/api/": {
+ target: "http://localhost:3119",
+ rewrite: (path) => path.replace(/^\/api\//, ""),
+ },
+ }
+ : undefined,
},
};