aboutsummaryrefslogtreecommitdiffstats
path: root/vite.config.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-18 09:08:07 -0700
committerAdam Soltys <[email protected]>2024-10-18 09:09:14 -0700
commit002cd9134d2e23bec34f838f6d6fefba41f2d530 (patch)
tree92fa0e0ab54ce1a715d25f458de8b8ed8cc70bd5 /vite.config.js
parentf6bfe889d91bc6e36b0300d7b618f10158efe176 (diff)
downloadcoinos-ui-002cd9134d2e23bec34f838f6d6fefba41f2d530.tar.gz
coinos-ui-002cd9134d2e23bec34f838f6d6fefba41f2d530.zip
biome format
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,
},
};