mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 12:48:58 +08:00
ref: 重构验证码路径支持单体版本
Signed-off-by: lbw <wangiegie@163.com>
This commit is contained in:
parent
b635e4ca32
commit
04569ffc13
@ -43,7 +43,7 @@ public class RouterFunctionConfiguration {
|
||||
@Bean
|
||||
public RouterFunction<ServerResponse> routerFunction() {
|
||||
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