|
@@ -21,8 +21,8 @@ module.exports = {
|
|
|
port: '8001',
|
|
|
//api地址前缀
|
|
|
proxy: {
|
|
|
- '/api': {
|
|
|
- target: 'http://10.16.9.108:8001',
|
|
|
+ '/api/train': {
|
|
|
+ target: 'http://free.liaoningdoupo.com',
|
|
|
changeOrigin: true,
|
|
|
ws: true,
|
|
|
},
|
|
@@ -41,19 +41,23 @@ module.exports = {
|
|
|
ws: true,
|
|
|
},
|
|
|
'/admin/center': {
|
|
|
- target: 'http://localhost:8001',
|
|
|
+ target: 'http://free.liaoningdoupo.com',
|
|
|
},
|
|
|
+ // '/api/train/department': {
|
|
|
+ // target: 'http://free.liaoningdoupo.com',
|
|
|
+ // },
|
|
|
+
|
|
|
'/admin/director': {
|
|
|
- target: 'http://localhost:8002',
|
|
|
+ target: 'http://free.liaoningdoupo.com',
|
|
|
},
|
|
|
'/admin/teacher': {
|
|
|
- target: 'http://localhost:8003',
|
|
|
+ target: 'http://free.liaoningdoupo.com',
|
|
|
},
|
|
|
'/admin/student': {
|
|
|
- target: 'http://localhost:8004',
|
|
|
+ target: 'http://free.liaoningdoupo.com',
|
|
|
},
|
|
|
'/admin/school': {
|
|
|
- target: 'http://localhost:8005',
|
|
|
+ target: 'http://free.liaoningdoupo.com',
|
|
|
},
|
|
|
},
|
|
|
},
|