慢直播web合成页面
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.3 KiB

3 years ago
const { defineConfig } = require("@vue/cli-service");
3 years ago
module.exports = defineConfig({
transpileDependencies: true,
3 years ago
lintOnSave: false,
publicPath: "/",
productionSourceMap: false,
devServer: {
port: 8080,
proxy: {
"/api": {
// target: "http://192.168.3.81:8002",
target: "http://42.192.165.208:8002",
changeOrigin: true,
ws: true,
pathRewrite: {
"/api": "",
},
},
// '/gatewayapi': {
// target: 'https://gatewayapi.lunz.cn/api',
// changeOrigin: true,
// ws: true,
// pathRewrite: {
// '/gatewayapi': ''
// }
// },
"/weather": {
target: "https://api.map.baidu.com",
changeOrigin: true,
ws: true,
// pathRewrite: {
// "/weather": "",
// },
},
// '/sjapi': {
// target: 'http://192.168.1.38:8210',
// // target: 'http://127.0.0.1:8210',
// changeOrigin: true,
// ws: true,
// pathRewrite: {
// '/sjapi': ''
// }
// },
// '/pollapi': {
// target: 'https://poll.kuaidi100.com',
// changeOrigin: true,
// ws: true,
// pathRewrite: {
// '/pollapi': ''
// }
// },
},
},
3 years ago
});