|
@@ -1,7 +1,7 @@
|
|
/*
|
|
/*
|
|
* @Author: your name
|
|
* @Author: your name
|
|
* @Date: 2022-01-07 10:00:52
|
|
* @Date: 2022-01-07 10:00:52
|
|
- * @LastEditTime: 2023-01-13 17:49:31
|
|
|
|
|
|
+ * @LastEditTime: 2023-04-02 15:13:10
|
|
* @LastEditors: code4eat awesomedema@gmail.com
|
|
* @LastEditors: code4eat awesomedema@gmail.com
|
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
* @FilePath: /KC-MiddlePlatform/config/proxy.ts
|
|
* @FilePath: /KC-MiddlePlatform/config/proxy.ts
|
|
@@ -14,22 +14,19 @@
|
|
|
|
|
|
const proxy: { [key: string]: any } = {
|
|
const proxy: { [key: string]: any } = {
|
|
dev: {
|
|
dev: {
|
|
- '/gateway': {
|
|
|
|
- target: 'http://112.124.59.133:5000',
|
|
|
|
|
|
+ '/master': {
|
|
|
|
+ target: 'http://47.97.190.5:7004',
|
|
//target: 'http://118.31.245.65:7005/',
|
|
//target: 'http://118.31.245.65:7005/',
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
- // pathRewrite: { '^/gateway': '' },
|
|
|
|
|
|
+ // pathRewrite: { '^/master': '' },
|
|
},
|
|
},
|
|
'/api': {
|
|
'/api': {
|
|
- target: 'http://118.31.245.65:8083/',
|
|
|
|
- //target: 'http://112.124.59.133:8083/',
|
|
|
|
- //target: 'http://112.124.59.133:5000/',
|
|
|
|
|
|
+ target: 'http://47.97.190.5:8804/',
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
pathRewrite: { '^/api': '' },
|
|
pathRewrite: { '^/api': '' },
|
|
},
|
|
},
|
|
'/view': {
|
|
'/view': {
|
|
- target: 'http://118.31.245.65:8085/',
|
|
|
|
- //target: 'http://112.124.59.133:8083/',
|
|
|
|
|
|
+ target: 'http://47.97.190.5:8807/',
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
pathRewrite: { '^/view': '' },
|
|
pathRewrite: { '^/view': '' },
|
|
},
|
|
},
|