Skip to content

Commit

Permalink
[Maintenance] Add firewall for image resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojdylak committed Apr 8, 2024
1 parent ceb354c commit efbb322
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ security:
target: sylius_shop_homepage
invalidate_session: false

image_resolver:
pattern: ^/media/cache/resolve
security: false

dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
Expand Down

0 comments on commit efbb322

Please sign in to comment.