@@ -9,4 +9,4 @@ VITE_APP_BASE_API = '/dev-api'
VITE_APP_WS_API = ':20001/test-api'
-VITE_APP_IP = '121.37.194.75'
+VITE_APP_IP = '127.0.0.1'
@@ -39,7 +39,8 @@ export default defineConfig(({
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
- target: 'http://121.37.194.75:20006/test-api',
+ // target: 'http://121.37.194.75:20006/test-api',
+ target: 'http://localhost:9898/',
// 正式地址
// target:"http://139.159.251.109/prod-api",
changeOrigin: true,