Browse Source

切换开发设备

chenminghua 1 year ago
parent
commit
902c78cd45
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vite.config.js

+ 2 - 2
vite.config.js

@@ -30,8 +30,8 @@ export default defineConfig({
             // 正则表达式写法
             "^/sharding": {
                 // target: 'http://wanghs.nat300.top',
-                // target: "http://10.81.3.154:6015",
-                target: "http://192.168.1.108:6015",
+                target: "http://10.81.3.154:6015",
+                // target: "http://192.168.1.108:6015",
                 changeOrigin: true, //开启代理
                 rewrite: (path) => path.replace(/^\/sharding/, ""),
             },