解决冲突

This commit is contained in:
wangshiming
2022-04-20 14:54:49 +08:00
parent 59b6c52e8a
commit 993a664514
6 changed files with 66 additions and 63 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-18 09:51:21
* @LastEditors : Shiming
* @LastEditTime : 2022-04-20 13:45:11
* @LastEditTime : 2022-04-20 14:18:40
* @FilePath : \\tms-obc-web\\proxy.conf.js
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -18,19 +18,9 @@ module.exports = {
// secure: false, // Ignore invalid SSL certificates
// changeOrigin: true
// }
'//api': {
target: {
host: 'tms-api.yunduoxing.com',
protocol: 'https:',
port: 443
},
secure: false,
changeOrigin: true,
logLevel: 'debug'
},
// '//api': {
// target: {
// host: 'tms-api-dev.eascs.com',
// host: 'tms-api.yunduoxing.com',
// protocol: 'https:',
// port: 443
// },
@ -38,4 +28,14 @@ module.exports = {
// changeOrigin: true,
// logLevel: 'debug'
// },
'//api': {
target: {
host: 'tms-api-test.eascs.com',
protocol: 'https:',
port: 443
},
secure: false,
changeOrigin: true,
logLevel: 'debug'
},
};