fix: refactoring

This commit is contained in:
ilhamtahir committed 2024-11-26 11:05:18 +08:00
1 parent c827568088
commit 21b59e8272
6 files changed
+16 -15

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ export default defineConfig(({ command, mode }) => {
'/api': {
target: env.VITE_PROXY_ENDPOINT,
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
// rewrite: (path) => path.replace(/^\/api/, '')
}
}
}