Skip to content

Commit

Permalink
fix: change permissions for the files-route
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-urner committed May 2, 2024
1 parent eb1b819 commit cdcb902
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ SecurityFilterChain applicationSecurity(HttpSecurity http) throws Exception {
.authorizeHttpRequests(registry -> registry
.requestMatchers("/auth/login").permitAll()
.requestMatchers("/error").permitAll()
.requestMatchers("/docs/**").permitAll()
.requestMatchers("/files/**").permitAll()
.anyRequest()
.authenticated());

Expand Down

0 comments on commit cdcb902

Please sign in to comment.