|
@@ -1,80 +0,0 @@
|
|
|
-const path = require('path');
|
|
|
-
|
|
|
-const url = 'https://cfm.bytesail.cn'
|
|
|
-
|
|
|
-const img = 'http://os.winfaster.cn'
|
|
|
-
|
|
|
-module.exports = {
|
|
|
-
|
|
|
- transpileDependencies: ['single-spa', 'qiankun', 'import-html-entry'],
|
|
|
- devServer: {
|
|
|
- port: "8082",
|
|
|
- open: false,
|
|
|
- headers: {
|
|
|
- 'Access-Control-Allow-Origin': '*',
|
|
|
- },
|
|
|
- proxy: {
|
|
|
- '/api': {
|
|
|
-
|
|
|
- target: 'http://36.134.91.96:10001/api',
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- ws: true,
|
|
|
- pathRewrite: {
|
|
|
- '^/api': '/'
|
|
|
- }
|
|
|
- },
|
|
|
-
|
|
|
- '/file': {
|
|
|
- target: 'http://36.134.91.96:10001',
|
|
|
- changeOrigin: true,
|
|
|
- ws: true,
|
|
|
- },
|
|
|
- '/saas-business-tradeerp': {
|
|
|
- target: url,
|
|
|
- changeOrigin: true,
|
|
|
- ws: true,
|
|
|
-
|
|
|
- },
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- '/blade-auth': {
|
|
|
- target: url,
|
|
|
- changeOrigin: true,
|
|
|
- ws: true,
|
|
|
-
|
|
|
- },
|
|
|
- '/blade-system': {
|
|
|
- target: url,
|
|
|
- changeOrigin: true,
|
|
|
- ws: true,
|
|
|
- },
|
|
|
- '/saas-system-business': {
|
|
|
- target: url,
|
|
|
- changeOrigin: true,
|
|
|
- ws: true,
|
|
|
- },
|
|
|
- '/saas-customer': {
|
|
|
- target: url,
|
|
|
- changeOrigin: true,
|
|
|
- ws: true,
|
|
|
- },
|
|
|
- '/saas-socket': {
|
|
|
- target: url,
|
|
|
- changeOrigin: true,
|
|
|
- ws: true,
|
|
|
- },
|
|
|
- '/saas-mail': {
|
|
|
- target: url,
|
|
|
- changeOrigin: true,
|
|
|
- ws: true,
|
|
|
- },
|
|
|
-
|
|
|
- }
|
|
|
- },
|
|
|
-}
|