|
@@ -7,11 +7,11 @@ module.exports = {
|
|
|
|
|
|
dev: {
|
|
|
assetsSubDirectory: 'static',
|
|
|
- assetsPublicPath: '/',
|
|
|
+ assetsPublicPath: '/bid',
|
|
|
proxyTable: {
|
|
|
'/': {
|
|
|
// target: 'http://43.136.176.26:7001', //后端接口地址 中间人运营平台
|
|
|
- target: 'http://127.0.0.1:7001', //后端接口地址
|
|
|
+ target: 'http://127.0.0.1:28080', //后端接口地址
|
|
|
changeOrigin: true, //是否跨域
|
|
|
pathRewrite: {
|
|
|
'^/': '/', //重写,
|
|
@@ -38,7 +38,7 @@ module.exports = {
|
|
|
index: path.resolve(__dirname, '../dist/index.html'),
|
|
|
assetsRoot: path.resolve(__dirname, '../dist'),
|
|
|
assetsSubDirectory: 'static',
|
|
|
- assetsPublicPath: '/',
|
|
|
+ assetsPublicPath: '/bid/',
|
|
|
|
|
|
productionSourceMap: false,
|
|
|
devtool: 'source-map',
|