|
@@ -7,58 +7,58 @@ module.exports = {
|
|
|
Object.assign(config, {
|
|
|
resolve: {
|
|
|
alias: {
|
|
|
- '@': path.resolve(__dirname, './src'),
|
|
|
- '@c': path.resolve(__dirname, './src/components'),
|
|
|
- '@a': path.resolve(__dirname, './src/assets'),
|
|
|
+ "@": path.resolve(__dirname, "./src"),
|
|
|
+ "@c": path.resolve(__dirname, "./src/components"),
|
|
|
+ "@a": path.resolve(__dirname, "./src/assets"),
|
|
|
},
|
|
|
},
|
|
|
});
|
|
|
},
|
|
|
devServer: {
|
|
|
- port: '9001',
|
|
|
+ port: "9001",
|
|
|
proxy: {
|
|
|
- '/ws': {
|
|
|
- target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
|
|
|
+ "/ws": {
|
|
|
+ target: "https://broadcast.waityou24.cn", // 127.0.0.1:13003
|
|
|
ws: true,
|
|
|
},
|
|
|
- '/files': {
|
|
|
- target: 'https://broadcast.waityou24.cn',
|
|
|
+ "/files": {
|
|
|
+ target: "https://broadcast.waityou24.cn",
|
|
|
},
|
|
|
- '/dev/point/v1/api': {
|
|
|
- target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
|
|
|
+ "/dev/point/v1/api": {
|
|
|
+ target: "http://192.168.1.144:12211", // 127.0.0.1:13003
|
|
|
changeOrigin: true,
|
|
|
ws: false,
|
|
|
},
|
|
|
- '/point/v1/api': {
|
|
|
- target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
|
|
|
+ "/point/v1/api": {
|
|
|
+ target: "https://broadcast.waityou24.cn", // 127.0.0.1:13003
|
|
|
changeOrigin: true,
|
|
|
ws: false,
|
|
|
},
|
|
|
// 团购
|
|
|
- '/point/group/v1/api': {
|
|
|
- target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
|
|
|
+ "/point/group/v1/api": {
|
|
|
+ target: "https://broadcast.waityou24.cn", // 127.0.0.1:13003
|
|
|
changeOrigin: true,
|
|
|
ws: false,
|
|
|
},
|
|
|
- '/dev/point/group/v1/api': {
|
|
|
- target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
|
|
|
+ "/dev/point/group/v1/api": {
|
|
|
+ target: "https://broadcast.waityou24.cn", // 127.0.0.1:13003
|
|
|
changeOrigin: true,
|
|
|
ws: false,
|
|
|
},
|
|
|
// 聊天
|
|
|
- '/point/chat/v1/api': {
|
|
|
- target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
|
|
|
+ "/point/chat/v1/api": {
|
|
|
+ target: "https://broadcast.waityou24.cn", // 127.0.0.1:13003
|
|
|
changeOrigin: true,
|
|
|
ws: false,
|
|
|
},
|
|
|
- '/dev/point/chat/v1/api': {
|
|
|
- target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
|
|
|
+ "/dev/point/chat/v1/api": {
|
|
|
+ target: "https://broadcast.waityou24.cn", // 127.0.0.1:13003
|
|
|
changeOrigin: true,
|
|
|
ws: false,
|
|
|
},
|
|
|
// 尊荣
|
|
|
- '/dev/point/zr/v1/api': {
|
|
|
- target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
|
|
|
+ "/dev/point/zr/v1/api": {
|
|
|
+ target: "https://broadcast.waityou24.cn", // 127.0.0.1:13003
|
|
|
changeOrigin: true,
|
|
|
ws: false,
|
|
|
// pathRewrite: {
|