enable status check without apikey

This commit is contained in:
Anthony Stirling 2023-12-30 13:42:24 +00:00
parent a5ee10e029
commit 6ca9001fe6

View file

@ -90,7 +90,8 @@ public class SecurityConfiguration {
return trimmedUri.startsWith("/login") || trimmedUri.endsWith(".svg") || return trimmedUri.startsWith("/login") || trimmedUri.endsWith(".svg") ||
trimmedUri.startsWith("/register") || trimmedUri.startsWith("/error") || trimmedUri.startsWith("/register") || trimmedUri.startsWith("/error") ||
trimmedUri.startsWith("/images/") || trimmedUri.startsWith("/public/") || trimmedUri.startsWith("/images/") || trimmedUri.startsWith("/public/") ||
trimmedUri.startsWith("/css/") || trimmedUri.startsWith("/js/"); trimmedUri.startsWith("/css/") || trimmedUri.startsWith("/js/") ||
trimmedUri.startsWith("api/v1/info/status");
} }
).permitAll() ).permitAll()
.anyRequest().authenticated() .anyRequest().authenticated()