forked from qiushanhe/dm-manage-web
题库图片修改
This commit is contained in:
@@ -33,12 +33,12 @@ module.exports = {
|
||||
port: port,
|
||||
open: true,
|
||||
proxy: {
|
||||
[process.env.VUE_APP_BASE_API + '/driver-api']: {
|
||||
[process.env.VUE_APP_BASE_API + '/xunjia']: {
|
||||
// target: `http://118.31.23.45:8888/driver-api/`,
|
||||
target: `https://xueche.ahduima.com/duima/driver-api/`,
|
||||
target: `https://xueche.ahduima.com/duima/xunjia/`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API + '/driver-api']: ''
|
||||
['^' + process.env.VUE_APP_BASE_API + '/xunjia']: ''
|
||||
}
|
||||
},
|
||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
|
||||
Reference in New Issue
Block a user