|
@@ -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/, ""),
|
|
|
},
|