大娃代理设置
This commit is contained in:
parent
1f5ad5da7e
commit
7b7882d057
|
@ -5,7 +5,7 @@ const GitRevision = new GitRevisionPlugin()
|
||||||
const buildDate = JSON.stringify(new Date().toLocaleString())
|
const buildDate = JSON.stringify(new Date().toLocaleString())
|
||||||
const createThemeColorReplacerPlugin = require('./config/plugin.config')
|
const createThemeColorReplacerPlugin = require('./config/plugin.config')
|
||||||
|
|
||||||
function resolve (dir) {
|
function resolve(dir) {
|
||||||
return path.join(__dirname, dir)
|
return path.join(__dirname, dir)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -94,15 +94,15 @@ const vueConfig = {
|
||||||
|
|
||||||
devServer: {
|
devServer: {
|
||||||
// development server port 8000
|
// development server port 8000
|
||||||
port: 8000
|
port: 8000,
|
||||||
// If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
|
// If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
|
||||||
// proxy: {
|
proxy: {
|
||||||
// '/api': {
|
'/dawa': {
|
||||||
// target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro',
|
target: 'http://a.3a6.cn/dawa/',
|
||||||
// ws: false,
|
ws: false,
|
||||||
// changeOrigin: true
|
changeOrigin: true
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// disable source map in production
|
// disable source map in production
|
||||||
|
|
Loading…
Reference in New Issue