Skip to content

Commit a20ea4d

Browse files
authored
Merge pull request #223 from devgateway/fix/OCE-157-error-loading-fonts-login
OCE-157 Error loading fonts on pages that are not authenticated (like…
2 parents 6291a3f + 6edfdd0 commit a20ea4d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

web/src/main/java/org/devgateway/toolkit/web/spring/WebSecurityConfig.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ public SecurityContextPersistenceFilter securityContextPersistenceFilter() {
7373
@Override
7474
public void configure(final WebSecurity web) throws Exception {
7575
web.ignoring().antMatchers("/", "/home", "/v2/api-docs/**", "/swagger-ui.html**", "/webjars/**", "/images/**",
76-
"/configuration/**", "/swagger-resources/**", "/dashboard").antMatchers(allowedApiEndpoints);
76+
"/configuration/**", "/swagger-resources/**", "/dashboard",
77+
"/wicket/resource/**/*.ttf", "/wicket/resource/**/*.woff",
78+
"/wicket/resource/**/*.woff2", "/wicket/resource/**/*.css.map"
79+
).antMatchers(allowedApiEndpoints);
7780

7881
}
7982

0 commit comments

Comments
 (0)