Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
YouJia
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3e425ab1
authored
Oct 12, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加公共配置,路径前缀
1 parent
86723bae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
youjia-server/src/main/resources/application.yml
youjia-server/src/main/resources/application.yml
View file @
3e425ab
# ============================================================
# 公共配置(与环境无关)
# ------------------------------------------------------------
server
:
port
:
${SERVER_PORT:8788}
servlet
:
# 项目访问路径前缀
context-path
:
${SERVER_CONTEXT_PATH:/youjia}
# 环境划分:dev(开发) / test(测试) / beta(预发布) / release(生产)
# 环境差异(Nacos 连接参数、加载的 dataId、签名模式、日志级别等)统一放在
# application-dev.yml / application-test.yml / application-beta.yml / application-release.yml
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment