Skip to content

Commit

Permalink
Allow public access to about page
Browse files Browse the repository at this point in the history
  • Loading branch information
fcrespel committed Dec 11, 2024
1 parent 33d3cb3 commit c29e219
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
csrfHandler.setCsrfRequestAttributeName(null); // Force loading CSRF token on every request
return http
.authorizeHttpRequests(requests -> requests
.requestMatchers("/", "/home").permitAll()
.requestMatchers("/", "/home", "/about").permitAll()
.requestMatchers("/*.css", "/*.js", "/*.js.map", "/*.jpg", "/*.png", "/*.svg", "/*.ico", "/assets/**", "/media/**", "/webjars/**", "/site.webmanifest", "/browserconfig.xml").permitAll()
.requestMatchers("/api", "/v3/api-docs/**", "/swagger-resources/**", "/swagger-ui/**", "/csrf").permitAll()
.requestMatchers("/api/v1/account/**").permitAll()
Expand Down

0 comments on commit c29e219

Please sign in to comment.