修改端口

This commit is contained in:
byang 2020-09-08 12:52:45 +08:00
parent c1031d98ae
commit 75078c5ea0
2 changed files with 2 additions and 2 deletions
ruoyi-admin/src/main/resources
ruoyi-ui

@ -18,7 +18,7 @@ ruoyi:
# 开发环境配置
server:
# 服务器的HTTP端口默认为8080
port: 8080
port: 8081
servlet:
# 应用的访问路径
context-path: /plan-prod-api

@ -34,7 +34,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8080`,
target: `http://localhost:8081/plan-prod-api/`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''