This commit is contained in:
2023-07-03 17:32:08 +08:00
parent 8aa883ecc2
commit fe7324eb40
10 changed files with 400 additions and 80 deletions

View File

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