贾宇博 hace 4 meses
padre
commit
734e2f31de
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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://localhost:9527',
+          // target: 'http://localhost:9527',
+        target: 'http://192.168.121.121:9527',
           changeOrigin: true,
           rewrite: (p) => p.replace(/^\/dev-api/, '')
         }