This commit is contained in:
2024-02-19 10:36:02 +08:00
parent d5222812ed
commit 8388a81a93
5 changed files with 7 additions and 6 deletions

View File

@@ -35,10 +35,10 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://localhost:8080`,
target: `http://localhost:8080`,
// 更改代理为本地地址
// target: `http://192.168.2.6:8080`,
target: `https://api.jsowellcloud.com`,
// target: `https://api.jsowellcloud.com`,
changeOrigin: true,
pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "",