Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
O
on-site-service
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
external
on-site-service
Commits
796b966f
Commit
796b966f
authored
Jul 08, 2022
by
kretee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改uri白名单ant-paths
parent
87a04854
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
application-common.yaml
constant/src/main/resources/application-common.yaml
+0
-7
application.yaml
mini-app/src/main/resources/application.yaml
+1
-1
No files found.
constant/src/main/resources/application-common.yaml
View file @
796b966f
...
...
@@ -7,13 +7,6 @@ project:
enabled
:
true
rabbitmq
:
enabled
:
true
jwt
:
# 安全路径白名单 无需token
ant-paths
:
"
/error,**.html**,**.js,**.css,/favicon.ico,/webjars/**,/swagger**,
/swagger-resources/configuration/ui,/**/v2/api-docs,/doc.html,/v2/api-docs-ext,/druid/**
\
/,/websocket/**"
# 基础token可以访问的路径白名单
base-token-ant-paths
:
"
/login"
server
:
# 开启优雅停机
...
...
mini-app/src/main/resources/application.yaml
View file @
796b966f
...
...
@@ -17,7 +17,7 @@ project:
# 安全路径白名单 无需token
ant-paths
:
"
/error,**.html**,**.js,**.css,/favicon.ico,/webjars/**,/swagger**,
/swagger-resources/configuration/ui,/**/v2/api-docs,/doc.html,/v2/api-docs-ext,/druid/**
\
/,/websocket/**,/
api/category/page,/api
/subclass/page"
/,/websocket/**,/
category/page,
/subclass/page"
# 基础token可以访问的路径白名单
base-token-ant-paths
:
"
/login"
...
...
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