diff --git a/config/packages/framework.yaml b/config/packages/framework.yaml index 21ac91d..36a1b54 100644 --- a/config/packages/framework.yaml +++ b/config/packages/framework.yaml @@ -1,7 +1,7 @@ # see https://symfony.com/doc/current/reference/configuration/framework.html framework: secret: '%env(APP_SECRET)%' - trusted_proxies: '%env(TRUSTED_PROXIES)%' + trusted_proxies: '%env(default::TRUSTED_PROXIES)%' trusted_headers: ['x-forwarded-for','x-forwarded-proto','x-forwarded-port','x-forwarded-host','x-forwarded-prefix'] # Note that the session will be started ONLY if you read or write from it. diff --git a/templates/base.html.twig b/templates/base.html.twig index 5ac1c43..e77d1f1 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -39,6 +39,9 @@ + {% block javascripts %} + {% block importmap %}{{ importmap('app') }}{% endblock %} + {% endblock %} {% include '_partials/auth_modal.html.twig' %}