Serve public icon files
All checks were successful
build-and-deploy / build-deploy (push) Successful in 33s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 33s
This commit is contained in:
@@ -30,6 +30,7 @@ class FirebaseAuthFilter(
|
||||
|| path.matches(Regex("^/properties/[^/]+/room-types$"))
|
||||
|| (path == "/image-tags" && request.method.equals("GET", true))
|
||||
|| path == "/icons/png"
|
||||
|| path.matches(Regex("^/icons/png/[^/]+$"))
|
||||
}
|
||||
|
||||
override fun doFilterInternal(
|
||||
|
||||
@@ -31,6 +31,7 @@ class SecurityConfig(
|
||||
it.requestMatchers("/properties/*/room-types").permitAll()
|
||||
it.requestMatchers(org.springframework.http.HttpMethod.GET, "/image-tags").permitAll()
|
||||
it.requestMatchers("/icons/png").permitAll()
|
||||
it.requestMatchers("/icons/png/*").permitAll()
|
||||
it.anyRequest().authenticated()
|
||||
}
|
||||
.exceptionHandling {
|
||||
|
||||
Reference in New Issue
Block a user