2024-08-02 13:10:19 +02:00

27 lines
655 B
YAML

# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
#csrf_protection: true
# Note that the session will be started ONLY if you read or write from it.
session: true
#esi: true
#fragments: true
rate_limiter:
authenticated_api:
policy: 'sliding_window'
limit: 25
interval: '1 day'
assets:
base_path: '/'
packages:
api_platform:
base_path: '/'
when@test:
framework:
test: true
session:
storage_factory_id: session.storage.factory.mock_file