diff --git a/src/main/java/no/nav/veilarbperson/config/CustomWebMvcConfigurer.java b/src/main/java/no/nav/veilarbperson/config/CustomWebMvcConfigurer.java index e27c0602..006d4b46 100644 --- a/src/main/java/no/nav/veilarbperson/config/CustomWebMvcConfigurer.java +++ b/src/main/java/no/nav/veilarbperson/config/CustomWebMvcConfigurer.java @@ -17,6 +17,6 @@ public CustomWebMvcConfigurer(final FnrUsageLoggerInterceptor fnrUsageLoggerInte @Override public void addInterceptors(InterceptorRegistry registry) { - registry.addInterceptor(fnrUsageLoggerInterceptor).addPathPatterns("/api/person", "/api/person/**", "/api/v2/person", "/api/v2/person/**"); + registry.addInterceptor(fnrUsageLoggerInterceptor); } }