Прокинуты публичные методы

This commit is contained in:
Kayashov.SM
2025-08-23 23:53:11 +04:00
parent 92f2523396
commit 56f81ea54b

View File

@@ -55,8 +55,8 @@ public class SecurityConfig {
// Можно указать конкретный путь, * - 1 уровень вложенности, ** - любое количество уровней вложенности // Можно указать конкретный путь, * - 1 уровень вложенности, ** - любое количество уровней вложенности
.antMatchers("/api/auth/**").permitAll() .antMatchers("/api/auth/**").permitAll()
.antMatchers("/api/cocktail/menu").permitAll() .antMatchers("/api/cocktail/menu").permitAll()
.antMatchers("/api/bar/category").permitAll() .antMatchers("/api/category").permitAll()
.antMatchers("/api/bar/glass").permitAll() .antMatchers("/api/glass").permitAll()
.antMatchers("/api/ingredient/simple").permitAll() .antMatchers("/api/ingredient/simple").permitAll()
.anyRequest() .anyRequest()
.authenticated(); .authenticated();