|
@@ -100,12 +100,13 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
.antMatchers("/login", "/captchaImage").anonymous()
|
|
.antMatchers("/login", "/captchaImage").anonymous()
|
|
.antMatchers(
|
|
.antMatchers(
|
|
HttpMethod.GET,
|
|
HttpMethod.GET,
|
|
|
|
+ "/",
|
|
"/*.html",
|
|
"/*.html",
|
|
"/**/*.html",
|
|
"/**/*.html",
|
|
"/**/*.css",
|
|
"/**/*.css",
|
|
- "/**/*.js"
|
|
|
|
|
|
+ "/**/*.js",
|
|
|
|
+ "/profile/**"
|
|
).permitAll()
|
|
).permitAll()
|
|
- .antMatchers("/profile/**").anonymous()
|
|
|
|
.antMatchers("/common/download**").anonymous()
|
|
.antMatchers("/common/download**").anonymous()
|
|
.antMatchers("/common/download/resource**").anonymous()
|
|
.antMatchers("/common/download/resource**").anonymous()
|
|
.antMatchers("/swagger-ui.html").anonymous()
|
|
.antMatchers("/swagger-ui.html").anonymous()
|