Прокинуты публичные методы
This commit is contained in:
@@ -55,8 +55,8 @@ public class SecurityConfig {
|
||||
// Можно указать конкретный путь, * - 1 уровень вложенности, ** - любое количество уровней вложенности
|
||||
.antMatchers("/api/auth/**").permitAll()
|
||||
.antMatchers("/api/cocktail/menu").permitAll()
|
||||
.antMatchers("/api/bar/category").permitAll()
|
||||
.antMatchers("/api/bar/glass").permitAll()
|
||||
.antMatchers("/api/category").permitAll()
|
||||
.antMatchers("/api/glass").permitAll()
|
||||
.antMatchers("/api/ingredient/simple").permitAll()
|
||||
.anyRequest()
|
||||
.authenticated();
|
||||
|
||||
Reference in New Issue
Block a user