1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-11-17 12:40:11 +01:00

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") ||
trimmedUri.startsWith("/register") || trimmedUri.startsWith("/error") ||
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()
.anyRequest().authenticated()