换到线上地址

This commit is contained in:
liuyalei 2024-03-19 09:24:44 +08:00
parent 8d15c3004f
commit ae936fc49b
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ export default defineConfig({
// rewrite: path => path.replace(/^\/main_serve/, '/main_serve/') // rewrite: path => path.replace(/^\/main_serve/, '/main_serve/')
}, },
"/three": { "/three": {
target: "http://192.168.1.2:10001/", // target: "http://192.168.1.2:10001/",
// target: "https://yx.cityme.com.cn/", target: "https://yx.cityme.com.cn/",
changeOrigin: true, changeOrigin: true,
// rewrite: path => path.replace(/^\/three/, '') // rewrite: path => path.replace(/^\/three/, '')
rewrite: path => path.replace(/\/three/, '') rewrite: path => path.replace(/\/three/, '')