mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
commit
24df3bedf6
@ -43,7 +43,7 @@ public class RouterFunctionConfiguration {
|
|||||||
@Bean
|
@Bean
|
||||||
public RouterFunction<ServerResponse> routerFunction() {
|
public RouterFunction<ServerResponse> routerFunction() {
|
||||||
return RouterFunctions.route(
|
return RouterFunctions.route(
|
||||||
RequestPredicates.path("/code").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