|
@@ -1,10 +1,11 @@
|
|
|
const path = require('path');
|
|
|
const question = path.resolve(__dirname, '../question-examine');
|
|
|
const frame = path.resolve(__dirname, '../frame');
|
|
|
+const ip = 'http://127.0.0.1';
|
|
|
module.exports = {
|
|
|
publicPath: process.env.NODE_ENV === 'development' ? '/' : '/msgconfirm',
|
|
|
outputDir: 'msgconfirm',
|
|
|
- configureWebpack: config => {
|
|
|
+ configureWebpack: (config) => {
|
|
|
Object.assign(config, {
|
|
|
|
|
|
resolve: {
|
|
@@ -37,7 +38,7 @@ module.exports = {
|
|
|
ws: true,
|
|
|
},
|
|
|
'/api': {
|
|
|
- target: 'http://jytz.jilinjobs.cn',
|
|
|
+ target: ip,
|
|
|
changeOrigin: true,
|
|
|
ws: true,
|
|
|
},
|