Allow public room types list
All checks were successful
build-and-deploy / build-deploy (push) Successful in 34s

This commit is contained in:
androidlover5842
2026-01-27 17:12:50 +05:30
parent d4f8ea96e0
commit 2b01ed3859
3 changed files with 5 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ class SecurityConfig(
.authorizeHttpRequests {
it.requestMatchers("/", "/health", "/auth/**").permitAll()
it.requestMatchers("/properties/*/rooms/*/images/*/file").permitAll()
it.requestMatchers("/properties/*/room-types").permitAll()
it.anyRequest().authenticated()
}
.exceptionHandling {