Changeset eb5426c for src/main/java/com/example/moviezone/config
- Timestamp:
- 02/06/23 03:59:41 (22 months ago)
- Branches:
- master
- Children:
- f8ef9bd
- Parents:
- 448bd84
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/config/WebSecurityConfig.java
r448bd84 reb5426c 32 32 http.csrf().disable() 33 33 .authorizeRequests() 34 .antMatchers("/", "/home", "/assets/**", "/register", "/api/**").permitAll()34 .antMatchers("/","/home/getFilm/**", "/home", "/assets/**", "/register", "/api/**").permitAll() 35 35 .antMatchers("/admin/**").hasRole("ADMIN") 36 36 .anyRequest()
Note:
See TracChangeset
for help on using the changeset viewer.