This commit is contained in:
wangshiming
2022-04-20 14:01:38 +08:00
parent c388aa33c2
commit 4a920bf101
4 changed files with 22 additions and 21 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-18 09:51:21
* @LastEditors : Shiming
* @LastEditTime : 2022-04-19 14:20:28
* @LastEditTime : 2022-04-20 13:45:11
* @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-test.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'
// },
};