|
@@ -100,12 +100,13 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter |
|
@@ -100,12 +100,13 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter |
|
100
|
.antMatchers("/login", "/captchaImage").anonymous()
|
100
|
.antMatchers("/login", "/captchaImage").anonymous()
|
|
101
|
.antMatchers(
|
101
|
.antMatchers(
|
|
102
|
HttpMethod.GET,
|
102
|
HttpMethod.GET,
|
|
|
|
103
|
+ "/",
|
|
103
|
"/*.html",
|
104
|
"/*.html",
|
|
104
|
"/**/*.html",
|
105
|
"/**/*.html",
|
|
105
|
"/**/*.css",
|
106
|
"/**/*.css",
|
|
106
|
- "/**/*.js"
|
107
|
+ "/**/*.js",
|
|
|
|
108
|
+ "/profile/**"
|
|
107
|
).permitAll()
|
109
|
).permitAll()
|
|
108
|
- .antMatchers("/profile/**").anonymous()
|
|
|
|
109
|
.antMatchers("/common/download**").anonymous()
|
110
|
.antMatchers("/common/download**").anonymous()
|
|
110
|
.antMatchers("/common/download/resource**").anonymous()
|
111
|
.antMatchers("/common/download/resource**").anonymous()
|
|
111
|
.antMatchers("/swagger-ui.html").anonymous()
|
112
|
.antMatchers("/swagger-ui.html").anonymous()
|