|
@@ -2,7 +2,7 @@ const path = require('path');
|
|
|
module.exports = {
|
|
|
publicPath: process.env.NODE_ENV === 'development' ? '/' : process.env.VUE_APP_ROUTER,
|
|
|
// 打包文件
|
|
|
- outputDir: 'tyresystem',
|
|
|
+ outputDir: 'tyre',
|
|
|
configureWebpack: config => {
|
|
|
Object.assign(config, {
|
|
|
// 开发生产共同配置
|
|
@@ -20,15 +20,16 @@ module.exports = {
|
|
|
//api地址前缀
|
|
|
proxy: {
|
|
|
'/files': {
|
|
|
- target: 'http://free.liaoningdoupo.com',
|
|
|
+ target: 'http://192.168.1.43:8081',
|
|
|
+ // http://free.liaoningdoupo.com
|
|
|
},
|
|
|
'/api': {
|
|
|
- target: 'http://free.liaoningdoupo.com',
|
|
|
+ target: 'http://192.168.1.43:8081',
|
|
|
changeOrigin: true,
|
|
|
ws: true,
|
|
|
},
|
|
|
'/ws': {
|
|
|
- target: 'http://free.liaoningdoupo.com',
|
|
|
+ target: 'http://192.168.1.43:8081',
|
|
|
ws: true,
|
|
|
},
|
|
|
},
|