Skip to content

Commit

Permalink
Merge pull request #223 from devgateway/fix/OCE-157-error-loading-fon…
Browse files Browse the repository at this point in the history
…ts-login

OCE-157 Error loading fonts on pages that are not authenticated (like…
  • Loading branch information
mpostelnicu authored Dec 12, 2016
2 parents 6291a3f + 6edfdd0 commit a20ea4d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ public SecurityContextPersistenceFilter securityContextPersistenceFilter() {
@Override
public void configure(final WebSecurity web) throws Exception {
web.ignoring().antMatchers("/", "/home", "/v2/api-docs/**", "/swagger-ui.html**", "/webjars/**", "/images/**",
"/configuration/**", "/swagger-resources/**", "/dashboard").antMatchers(allowedApiEndpoints);
"/configuration/**", "/swagger-resources/**", "/dashboard",
"/wicket/resource/**/*.ttf", "/wicket/resource/**/*.woff",
"/wicket/resource/**/*.woff2", "/wicket/resource/**/*.css.map"
).antMatchers(allowedApiEndpoints);

}

Expand Down

0 comments on commit a20ea4d

Please sign in to comment.