Skip to content

Commit e22d10b

Browse files
committed
fix: fix resource not found response status
1 parent 6b9828a commit e22d10b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/umaxcode/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http, DelegatedEntry
2929
.cors(Customizer.withDefaults())
3030
.csrf(AbstractHttpConfigurer::disable)
3131
.authorizeHttpRequests(auth -> auth
32-
.requestMatchers("/ping").permitAll()
32+
.requestMatchers("/ping", "/pong").permitAll()
3333
.anyRequest().authenticated()
3434
)
3535
.oauth2ResourceServer(oauth2 -> oauth2.jwt(jwt -> jwt

0 commit comments

Comments
 (0)