framework.yaml 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. # see https://symfony.com/doc/current/reference/configuration/framework.html
  2. framework:
  3. secret: '%env(APP_SECRET)%'
  4. #csrf_protection: true
  5. # Note that the session will be started ONLY if you read or write from it.
  6. session: true
  7. #esi: true
  8. #fragments: true
  9. http_client:
  10. scoped_clients:
  11. tmdb.client:
  12. base_uri: '%env(TMDB_URL)%'
  13. query:
  14. language: 'fr'
  15. #api_key: '%env(TMDB_APIKEY_V3)%'
  16. headers:
  17. Authorization: 'Bearer %env(TMDB_APIKEY_V4)%'
  18. Content-Type: 'application/json;charset=utf-8'
  19. mattermost.client:
  20. base_uri: '%env(resolve:MATTERMOST_URL)%'
  21. headers:
  22. Authorization: 'Bearer %env(MATTERMOST_TOKEN)%'
  23. Content-Type: 'application/json;charset=utf-8'
  24. when@test:
  25. framework:
  26. test: true
  27. session:
  28. storage_factory_id: session.storage.factory.mock_file