公告板
版本库
filestore
活动
搜索
登录
main
/
airport-ui
机场公安门户网站
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
跨域问题解决
明梦爽
2021-11-10
88589c5cb3db76197fd0748152c84b87c671a5d9
[airport-ui.git]
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const webpack = require('webpack');
module.exports = {
configureWebpack: {
devServer: {
proxy: {
'/api': {
target: 'http://10.2.33.200',
changeOrigin: true,
ws:true,
pathRewrite: {
'^/api':'/'
}
}
}
}
}
}