|
|
@@ -38,8 +38,7 @@ module.exports = {
|
|
|
},
|
|
|
proxy: {
|
|
|
['^' + process.env.VUE_APP_BASE_API]: {
|
|
|
- // target: 'https://www.jinganrenjiams.com/hotelReservation',
|
|
|
- target: 'https://chtech.ncjti.edu.cn/hotelReservation',
|
|
|
+ target: 'https://www.jinganrenjiams.com/hotelReservation',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
@@ -47,7 +46,7 @@ module.exports = {
|
|
|
},
|
|
|
['^' + process.env.VUE_APP_BASE_FILE]: { // 图片上传
|
|
|
target: 'https://www.jinganrenjiams.com/hotelReservation',
|
|
|
- // target: 'https://chtech.ncjti.edu.cn/hotelReservation/fileload',
|
|
|
+ // target: 'https://www.jinganrenjiams.com/hotelReservation/fileload',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
['^' + process.env.VUE_APP_BASE_FILE]: ''
|