This commit is contained in:
quantulr
2024-03-03 12:46:51 +08:00
parent 184f041784
commit d62ff99e03
8 changed files with 142 additions and 91 deletions

View File

@ -32,8 +32,8 @@ export default defineConfig(({mode, command}) => {
// https://cn.vitejs.dev/config/#server-proxy
"/dev-api": {
// target: "http://101.34.131.16:1618",
// target: "http://129.211.170.150/api",
target: "http://192.168.0.200:1619",
target: "http://129.211.170.150/api",
// target: "http://192.168.0.200:1619",
// target: 'http://172.18.3.127:1618',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, ""),