maxiaoxiao 2 months ago
parent
commit
b3997a0eaf
1 changed files with 2 additions and 1 deletions
  1. 2 1
      vite.config.js

+ 2 - 1
vite.config.js

@@ -31,7 +31,8 @@ export default defineConfig(({ mode, command }) => {
       proxy: {
         // https://cn.vitejs.dev/config/#server-proxy
         '/dev-api': {
-          target: 'http://192.168.60.4:8080',
+          // target: 'http://192.168.60.2:19203',
+          target: 'http://192.168.60.221:8080',
           changeOrigin: true,
           rewrite: (p) => p.replace(/^\/dev-api/, '')
         }