Skip to content

Commit

Permalink
secure paths
Browse files Browse the repository at this point in the history
  • Loading branch information
avirlrma committed Aug 22, 2023
1 parent 50eab4d commit 860c311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fiu-api/src/main/java/com/rupeesense/fi/APIModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public FilterRegistrationBean<RequestAuthFilter> loggingFilter() {
FilterRegistrationBean<RequestAuthFilter> registrationBean = new FilterRegistrationBean<>();

registrationBean.setFilter(new RequestAuthFilter());
registrationBean.addUrlPatterns("/v1/fiu"); // Set the URL pattern here; /* would mean all endpoints
registrationBean.addUrlPatterns("/v1/fiu/*"); // Set the URL pattern here; /* would mean all endpoints

return registrationBean;
}
Expand Down

0 comments on commit 860c311

Please sign in to comment.