提交 cbec19f8 编写于 作者: 1 1319612909

更换ip

上级 f51463f4
......@@ -1173,6 +1173,7 @@ $mainHight: 100vh;
font-weight: 600;
font-size: 20px;
vertical-align: middle;
padding-left: 10px;
}
}
......
......@@ -23,7 +23,7 @@ module.exports = {
// 把key的路径代理到target位置
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { //需要代理的路径 例如 '/api'
target: `http://139.9.113.229:8888/`, //代理到 目标路径
target: `http://127.0.0.1:8888`, //代理到 目标路径
changeOrigin: true,
pathRewrite: { // 修改路径数据
['^' + process.env.VUE_APP_BASE_API]: '' // 举例 '^/api:""' 把路径中的/api字符串删除
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册