Skip to content

Commit

Permalink
Fix issue #154
Browse files Browse the repository at this point in the history
  • Loading branch information
chenenyu committed Nov 18, 2020
1 parent 4ebfbd5 commit f6635a6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public RouteResponse intercept(Chain chain) {

// insert global interceptors in front of the queue
if (!Router.getGlobalInterceptors().isEmpty()) {
realChain.getInterceptors().addAll(index++, Router.getGlobalInterceptors());
realChain.getInterceptors().addAll(index, Router.getGlobalInterceptors());
index = Router.getGlobalInterceptors().size();
}

Set<String> finalInterceptors = new LinkedHashSet<>();
Expand Down

0 comments on commit f6635a6

Please sign in to comment.