|
@@ -1,7 +1,8 @@
|
|
|
const path = require('path');
|
|
|
const common = path.resolve(__dirname, '../common');
|
|
|
module.exports = {
|
|
|
- outputDir: `pweb`,
|
|
|
+ publicPath: `/${process.env.VUE_APP_ROUTER}`,
|
|
|
+ outputDir: `${process.env.VUE_APP_ROUTER}`,
|
|
|
productionSourceMap: false,
|
|
|
configureWebpack: (config) => {
|
|
|
Object.assign(config, {
|
|
@@ -22,7 +23,7 @@ module.exports = {
|
|
|
target: 'http://broadcast.waityou24.cn',
|
|
|
},
|
|
|
'/projectadmin/api': {
|
|
|
- target: 'http://127.0.0.1:10102', //http://127.0.0.1:10102 http://www.freeskyghw.cn
|
|
|
+ target: 'https://broadcast.waityou24.cn', //http://127.0.0.1:10102 http://www.freeskyghw.cn
|
|
|
changeOrigin: true,
|
|
|
ws: false,
|
|
|
},
|