Skip to content

Commit

Permalink
Bruk custom handlerinterceptor bare for /person og /v2/person endepun…
Browse files Browse the repository at this point in the history
…kter
  • Loading branch information
slovrid committed Oct 15, 2023
1 parent a71f870 commit 6df75fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ public CustomWebMvcConfigurer(final FnrUsageLoggerInterceptor fnrUsageLoggerInte

@Override
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(fnrUsageLoggerInterceptor);
registry.addInterceptor(fnrUsageLoggerInterceptor).addPathPatterns("/api/person", "/api/person/**", "/api/v2/person", "/api/v2/person/**");
}
}

0 comments on commit 6df75fa

Please sign in to comment.