This commit is contained in:
Taric Xin
2022-04-19 13:59:54 +08:00
5 changed files with 36 additions and 23 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-18 09:51:21
* @LastEditors : Shiming
* @LastEditTime : 2022-04-18 16:40:52
* @LastEditTime : 2022-04-19 13:17:35
* @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-dev.eascs.com',
protocol: 'https:',
port: 443
},
secure: false,
changeOrigin: true,
logLevel: 'debug'
},
};