2
0

feat: gateway support i18n message

This commit is contained in:
zhangsz
2025-01-22 14:07:02 +08:00
parent f7f8642401
commit 9d7b44d1dd
9 changed files with 49 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ public class GatewayConfig
*/
@Bean
public RouterFunction<ServerResponse> healthCheckRoute() {
// TODO: Implement a health check endpoint
// Implement a health check endpoint
return RouterFunctions.route(RequestPredicates.GET("/health"),
request -> ServerResponse.status(HttpStatus.OK)
.body(BodyInserters.fromValue("Gateway is healthy"))