This commit is contained in:
2023-03-07 17:39:01 +08:00
parent 3013510034
commit d3e34e70b3
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ export default defineConfig(({ mode, command }) => {
// https://cn.vitejs.dev/config/#server-proxy
"/dev-api": {
// target: 'http://localhost:8080',
target: "http://192.168.110.10:1616",
target: "http://192.168.1.3:1616",
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, ""),
},