Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PRMS
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
zhengfunan
PRMS
Commits
55b04c3f
Commit
55b04c3f
authored
Jan 15, 2021
by
gaozhentao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9269dd7a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
WebConfiguration.java
...java/com/yingxin/prms/config/filter/WebConfiguration.java
+2
-6
application.yml
src/main/resources/application.yml
+1
-1
No files found.
src/main/java/com/yingxin/prms/config/filter/WebConfiguration.java
View file @
55b04c3f
package
com
.
yingxin
.
prms
.
config
.
filter
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.scheduling.concurrent.ConcurrentTaskExecutor
;
import
org.springframework.web.servlet.config.annotation.*
;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.concurrent.Executors
;
/**
...
...
@@ -51,7 +46,8 @@ public class WebConfiguration implements WebMvcConfigurer {
.
excludePathPatterns
(
"/img/**"
)
.
excludePathPatterns
(
"/js/**"
)
.
excludePathPatterns
(
"/index.html"
)
.
excludePathPatterns
(
"/rest/rel/login"
);
.
excludePathPatterns
(
"/rest/rel/login"
)
.
excludePathPatterns
(
"/rest/rel/selectTopology"
);
WebMvcConfigurer
.
super
.
addInterceptors
(
registry
);
}
}
src/main/resources/application.yml
View file @
55b04c3f
server
:
port
:
80
8
0
port
:
80
9
0
spring
:
data
:
cassandra
:
...
...
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