This commit is contained in:
zcx
2023-10-18 17:33:26 +08:00
parent 6b22078098
commit f8eda78cf7
5 changed files with 255 additions and 5 deletions

View File

@@ -34,8 +34,8 @@ module.exports = {
open: true,
proxy: {
[process.env.VUE_APP_BASE_API + '/driver-api']: {
target: `http://118.31.23.45:8888/driver-api/`,
// target: `http://localhost:8888/driver-api/`,
// target: `http://118.31.23.45:8888/driver-api/`,
target: `http://localhost:8888/driver-api/`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API + '/driver-api']: ''