🎨 Improving structure / format of the code.

This commit is contained in:
lbw 2023-11-20 12:42:11 +08:00
parent 24df3bedf6
commit f9f89e800e

View File

@ -43,7 +43,8 @@ public class RouterFunctionConfiguration {
@Bean
public RouterFunction<ServerResponse> routerFunction() {
return RouterFunctions.route(
RequestPredicates.path("/code/image").and(RequestPredicates.accept(MediaType.TEXT_PLAIN)), imageCodeHandler);
RequestPredicates.path("/code/image").and(RequestPredicates.accept(MediaType.TEXT_PLAIN)),
imageCodeHandler);
}
}