|
@@ -24,18 +24,23 @@ module.exports = {
|
|
|
port: '8003',
|
|
|
//api地址前缀
|
|
|
proxy: {
|
|
|
+ '/api/auth': {
|
|
|
+ target: 'http://jytz.jilinjobs.cn', ///api/train http://free.liaoningdoupo.com http://jytz.jilinjobs.cn
|
|
|
+ changeOrigin: true,
|
|
|
+ ws: true,
|
|
|
+ },
|
|
|
'/api': {
|
|
|
- target: 'http://free.liaoningdoupo.com',
|
|
|
+ target: 'http://jytz.jilinjobs.cn',
|
|
|
changeOrigin: true,
|
|
|
ws: true,
|
|
|
},
|
|
|
'/files': {
|
|
|
- target: 'http://free.liaoningdoupo.com',
|
|
|
+ target: 'http://jytz.jilinjobs.cn',
|
|
|
changeOrigin: true,
|
|
|
ws: true,
|
|
|
},
|
|
|
'/ws': {
|
|
|
- target: 'http://free.liaoningdoupo.com',
|
|
|
+ target: 'http://jytz.jilinjobs.cn',
|
|
|
ws: true,
|
|
|
},
|
|
|
'/weixin': {
|
|
@@ -43,21 +48,6 @@ module.exports = {
|
|
|
changeOrigin: true,
|
|
|
ws: true,
|
|
|
},
|
|
|
- '/admin/center': {
|
|
|
- target: 'http://localhost:8001',
|
|
|
- },
|
|
|
- '/admin/director': {
|
|
|
- target: 'http://localhost:8002',
|
|
|
- },
|
|
|
- '/admin/teacher': {
|
|
|
- target: 'http://localhost:8003',
|
|
|
- },
|
|
|
- '/admin/student': {
|
|
|
- target: 'http://localhost:8004',
|
|
|
- },
|
|
|
- '/admin/school': {
|
|
|
- target: 'http://localhost:8005',
|
|
|
- },
|
|
|
},
|
|
|
},
|
|
|
};
|