Skip to content

Commit

Permalink
Merge pull request #5276 from usu/chore/disable-symfony-listeners
Browse files Browse the repository at this point in the history
chore(api): disable use_symfony_listeners
  • Loading branch information
usu authored Jun 18, 2024
2 parents e1f13f0 + fc0fff9 commit 9d76f96
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion api/config/packages/api_platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ api_platform:
title: eCamp v3
version: 1.0.0
show_webby: false
use_symfony_listeners: true
enable_link_security: true
mapping:
paths:
Expand Down
5 changes: 0 additions & 5 deletions api/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ services:
api_platform.http_cache.tag_collector:
class: App\HttpCache\TagCollector

api_platform.http_cache.listener.response.configure:
class: ApiPlatform\HttpCache\EventListener\AddHeadersListener
tags:
- { name: kernel.event_listener, event: kernel.response, method: onKernelResponse, priority: 11 }

App\HttpCache\AddCollectionTagsListener:
tags:
- { name: kernel.event_listener, event: kernel.response, method: onKernelResponse, priority: 12 }
Expand Down

0 comments on commit 9d76f96

Please sign in to comment.