Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
klck
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
位宇华
klck
Commits
a507311f
Commit
a507311f
authored
Aug 29, 2023
by
dongjg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改端口
parent
3a7793ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ruoyi-admin/src/main/resources/application.yml
ruoyi-admin/src/main/resources/application.yml
+3
-1
ruoyi-ui/vue.config.js
ruoyi-ui/vue.config.js
+3
-1
No files found.
ruoyi-admin/src/main/resources/application.yml
View file @
a507311f
...
@@ -20,7 +20,9 @@ ruoyi:
...
@@ -20,7 +20,9 @@ ruoyi:
# 开发环境配置
# 开发环境配置
server
:
server
:
# 服务器的HTTP端口,默认为8080
# 服务器的HTTP端口,默认为8080
port
:
5001
# port: 5001
# port: 5001
port
:
8080
servlet
:
servlet
:
# 应用的访问路径
# 应用的访问路径
context-path
:
/
context-path
:
/
...
...
ruoyi-ui/vue.config.js
View file @
a507311f
...
@@ -35,7 +35,9 @@ module.exports = {
...
@@ -35,7 +35,9 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://192.168.10.105:5001`,
// target: `http://192.168.10.105:5001`,
target
:
`http://localhost:5001`
,
// target: `http://localhost:5001`,
target
:
`http://localhost:8080`
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
[
'
^
'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
[
'
^
'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment