Skip to content

Commit

Permalink
!445 ref: 重构验证码路径支持单体版本
Browse files Browse the repository at this point in the history
Merge pull request !445 from lbw/N/A
  • Loading branch information
lbw authored and gitee-org committed Nov 20, 2023
2 parents b635e4c + 04569ff commit 527d7d7
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 527d7d7

Please sign in to comment.