This commit is contained in:
2023-07-21 16:43:51 +08:00
parent c4d147a87d
commit 9fe9a45d2b
4 changed files with 216 additions and 178 deletions

View File

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