This commit is contained in:
xzh
2025-07-22 20:16:55 +08:00
parent 1bbed7d1fc
commit f690455888
3 changed files with 1 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ export default defineConfig(({ mode, command }) => {
open: true,
proxy: {
[env.VITE_APP_BASE_API]: {
target: 'http://localhost:8080',
target: 'http://10.10.10.10:8080',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')