diff --git a/.env b/.env index 6be2d99..6934981 100644 --- a/.env +++ b/.env @@ -51,6 +51,7 @@ APP_BPN_TOTAL_TIMEOUT=45 APP_TRAVEL_INFO_BASE_URL="https://www.ep-reisen.de/reiseinformationen/" APP_CMS_API_BASE_URL="https://www.ep-reisen.de/" +APP_WEBSITE_BASE_URL="https://www.ep-reisen.de/" # Travel Data Service Configuration APP_TRAVEL_PREFER_REMOTE=false diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index 029d094..d6dbd77 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -3,6 +3,7 @@ twig: form_themes: ['forms.html.twig'] globals: htmx_change_trigger: 'change delay:100ms' + website_base_url: '%env(APP_WEBSITE_BASE_URL)%' when@test: twig: diff --git a/templates/_partials/_header.html.twig b/templates/_partials/_header.html.twig index 97e8254..5e354fe 100644 --- a/templates/_partials/_header.html.twig +++ b/templates/_partials/_header.html.twig @@ -1,5 +1,5 @@