Skip to content

Commit

Permalink
fix docean cross domain XiaoMi#838
Browse files Browse the repository at this point in the history
  • Loading branch information
shanwb committed May 10, 2024
1 parent 3705969 commit b3f1cc8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public MvcRunnable(Mvc mvc, HttpServerConfig config, ChannelHandlerContext ctx,
this.context.setHeaders(this.request.getHeaders());
this.context.setVirtualThread(mvc.getMvcConfig().isVirtualThread());
this.context.setPath(path);
this.context.setAllowCross(mvc.getMvcConfig().isAllowCross());
this.request.setMethod(method);
this.request.setPath(path);
this.request.setBody(body);
Expand Down

0 comments on commit b3f1cc8

Please sign in to comment.