Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
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
quanku
qk_backend
Commits
421dc45b
Commit
421dc45b
authored
Jul 19, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pom
parent
190776df
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ch-admin-api/src/main/java/com/wwdz/ch/admin/config/ShiroConfig.java
...i/src/main/java/com/wwdz/ch/admin/config/ShiroConfig.java
+1
-1
ch-admin-api/src/main/resources/application.yml
ch-admin-api/src/main/resources/application.yml
+1
-1
No files found.
ch-admin-api/src/main/java/com/wwdz/ch/admin/config/ShiroConfig.java
View file @
421dc45b
...
@@ -39,7 +39,7 @@ public class ShiroConfig {
...
@@ -39,7 +39,7 @@ public class ShiroConfig {
filterChainDefinitionMap
.
put
(
"/admin/auth/401"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/admin/auth/401"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/admin/auth/index"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/admin/auth/index"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/admin/auth/403"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/admin/auth/403"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/a
dmin/a
ctuator/health"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/actuator/health"
,
"anon"
);
filterChainDefinitionMap
.
put
(
"/admin/**"
,
"authc"
);
filterChainDefinitionMap
.
put
(
"/admin/**"
,
"authc"
);
shiroFilterFactoryBean
.
setLoginUrl
(
"/admin/auth/401"
);
shiroFilterFactoryBean
.
setLoginUrl
(
"/admin/auth/401"
);
...
...
ch-admin-api/src/main/resources/application.yml
View file @
421dc45b
...
@@ -13,7 +13,7 @@ spring:
...
@@ -13,7 +13,7 @@ spring:
server
:
server
:
port
:
8085
port
:
8085
servlet
:
servlet
:
context-path
:
/admin
context-path
:
logging
:
logging
:
level
:
level
:
...
...
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