This commit is contained in:
Taric Xin
2022-05-12 16:22:46 +08:00
parent 9cf49cd332
commit 695c9a4584

View File

@ -18,19 +18,9 @@ module.exports = {
// secure: false, // Ignore invalid SSL certificates // secure: false, // Ignore invalid SSL certificates
// changeOrigin: true // changeOrigin: true
// } // }
'//api': {
target: {
host: 'tms-api.yunduoxing.com',
protocol: 'https:',
port: 443
},
secure: false,
changeOrigin: true,
logLevel: 'debug'
},
// '//api': { // '//api': {
// target: { // target: {
// host: 'tms-api-test.eascs.com', // host: 'tms-api.yunduoxing.com',
// protocol: 'https:', // protocol: 'https:',
// port: 443 // port: 443
// }, // },
@ -38,4 +28,14 @@ module.exports = {
// changeOrigin: true, // changeOrigin: true,
// logLevel: 'debug' // logLevel: 'debug'
// }, // },
'//api': {
target: {
host: 'tms-api-test.eascs.com',
protocol: 'https:',
port: 443
},
secure: false,
changeOrigin: true,
logLevel: 'debug'
},
}; };