feat: gateway support i18n message
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user