Skip to content

Commit 0d1e00e

Browse files
author
Utkarsh
committed
health is teating security config is changed
1 parent 6e11ee2 commit 0d1e00e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ecom-backend/src/main/java/com/example/ecommerce/ecom_backend/config/SecurityConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
8383
// Allow public access to auth, payments, and webhooks
8484
.requestMatchers("/api/auth/**", "/api/payments/**", "/api/stripe/webhook").permitAll()
8585
// All other requests must be authenticated
86+
.requestMatchers("/api/test/health").permitAll()
8687
.anyRequest().authenticated()
8788
)
8889
.exceptionHandling(exception -> exception

0 commit comments

Comments
 (0)