1 Star 0 Fork 4

tóng/hospitalVue

forked from 不想昨/hospitalVue 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vue.config.js 634 Bytes
一键复制 编辑 原始数据 按行查看 历史
不想昨 提交于 2021-09-29 20:14 +08:00 . 又改了很多东西,忘了是什么
module.exports = {
lintOnSave:false,
devServer: {
overlay:{
warning:false,
errors:false
},
proxy: {
'/api': {
// target: 'http://172.16.15.27:8081',
target: 'http://119.29.60.153:8001',
secure: false, // false为http访问,true为https访问
changeOrigin: true, // 跨域访问设置,true代表跨域
ws: true,
pathRewrite: { // 路径改写规则
'^/api': '' // 以/proxy/为开头的改写为''
}
}
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tq888/hospital-vue.git
git@gitee.com:tq888/hospital-vue.git
tq888
hospital-vue
hospitalVue
master

搜索帮助