bug fix and performance improvements

This commit is contained in:
2023-07-20 11:47:32 +08:00
parent 0f582dec46
commit b2f3296717
14 changed files with 122 additions and 40 deletions

View File

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