Skip to content

Commit

Permalink
ref: 重构验证码路径支持单体版本
Browse files Browse the repository at this point in the history
Signed-off-by: lbw <[email protected]>
  • Loading branch information
lbw authored and gitee-org committed Nov 20, 2023
1 parent 2235875 commit 8fe690b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

}

0 comments on commit 8fe690b

Please sign in to comment.