Skip to content

Commit 684ebfe

Browse files
Update java security whitelist to allow access to /assets and /icons
1 parent 1e44826 commit 684ebfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/info/fingo/urlopia/config/authentication/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
public class SecurityConfig extends WebSecurityConfigurerAdapter {
2222

2323
private static final String[] PUBLIC_ROUTES = {
24-
"/", "/static/**", "/health/**", "/api/v2/info/**", "/api/v2/slack/**",
24+
"/", "/assets/**", "/icons/**", "/health/**", "/api/v2/info/**", "/api/v2/slack/**",
2525
"/api/v2/proxy/**", "/login_check/**", "/icons/**", "/error", "/index.html"
2626
};
2727
private static final String[] ALLOWED_EXTENSIONS = {

0 commit comments

Comments
 (0)