We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bd989e commit 9685a9bCopy full SHA for 9685a9b
1 file changed
access-control-spring-security/src/main/java/de/dominikschadow/javasecurity/config/SecurityConfig.java
@@ -77,7 +77,7 @@ SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
77
return http.authorizeHttpRequests(auth -> {
78
auth.requestMatchers("/", "/error").permitAll();
79
auth.requestMatchers("/h2-console/**").permitAll();
80
- auth.requestMatchers("/css/*").permitAll();
+ auth.requestMatchers("/css/**").permitAll();
81
auth.requestMatchers("/favicon.ico", "favicon.svg").permitAll();
82
83
auth.requestMatchers("/contacts/**").hasRole("USER");
0 commit comments