mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
🎨 Improving structure / format of the code.
This commit is contained in:
parent
24df3bedf6
commit
f9f89e800e
@ -43,7 +43,8 @@ public class RouterFunctionConfiguration {
|
|||||||
@Bean
|
@Bean
|
||||||
public RouterFunction<ServerResponse> routerFunction() {
|
public RouterFunction<ServerResponse> routerFunction() {
|
||||||
return RouterFunctions.route(
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user