From 6ca9001fe6115ded1d147051795d870ae1c9c9bf Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 30 Dec 2023 13:42:24 +0000 Subject: [PATCH] enable status check without apikey --- .../software/SPDF/config/security/SecurityConfiguration.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/stirling/software/SPDF/config/security/SecurityConfiguration.java b/src/main/java/stirling/software/SPDF/config/security/SecurityConfiguration.java index e0b439db..71394b09 100644 --- a/src/main/java/stirling/software/SPDF/config/security/SecurityConfiguration.java +++ b/src/main/java/stirling/software/SPDF/config/security/SecurityConfiguration.java @@ -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()