|
@@ -126,7 +126,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|
|
public void configure(WebSecurity web) throws Exception {
|
|
|
web.ignoring().antMatchers("/resources/**", "/static/**", "/**.js");
|
|
|
web.ignoring().antMatchers(uploadProperties.getUploadPattern());
|
|
|
- web.ignoring().antMatchers("/**/*.js", "/lang/*.json", "/**/*.css", "/**/*.map", "/**/*.png", "/**/*.jpg");
|
|
|
+ web.ignoring().antMatchers("/**/*.js", "/lang/*.json", "/**/*.css", "/**/*.map", "/**/*.png", "/**/*.jpg","/**/*.woff","/**/*.ttf");
|
|
|
+// web.ignoring().antMatchers("/fonts/**");
|
|
|
web.ignoring().antMatchers("/open/**");
|
|
|
web.ignoring().antMatchers("/v2/api-docs",//swagger api json
|
|
|
"/swagger-resources/configuration/ui",//用来获取支持的动作
|