"JeeSpringCloud/src/vscode:/vscode.git/clone" did not exist on "1c3b6bc3b24ee801e9c7f8a198f55b9b7c979235"
Commit c42d57cb authored by macro's avatar macro
Browse files

fix swagger icon bug

parent c8317cbc
...@@ -62,7 +62,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -62,7 +62,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
"/**/*.css", "/**/*.css",
"/**/*.js", "/**/*.js",
"/swagger-resources/**", "/swagger-resources/**",
"/v2/api-docs/**" "/v2/api-docs/**",
"/webjars/springfox-swagger-ui/**"
) )
.permitAll() .permitAll()
.antMatchers("/admin/login", "/admin/register")// 对登录注册要允许匿名访问 .antMatchers("/admin/login", "/admin/register")// 对登录注册要允许匿名访问
......
...@@ -38,7 +38,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -38,7 +38,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
"/**/*.css", "/**/*.css",
"/**/*.js", "/**/*.js",
"/swagger-resources/**", "/swagger-resources/**",
"/v2/api-docs/**" "/v2/api-docs/**",
"/webjars/springfox-swagger-ui/**"
) )
.permitAll() .permitAll()
.antMatchers(HttpMethod.OPTIONS)//跨域请求会先进行一次options请求 .antMatchers(HttpMethod.OPTIONS)//跨域请求会先进行一次options请求
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment