diff --git a/aleksis/core/templates/core/base_print.html b/aleksis/core/templates/core/base_print.html index d0b7cf6dd054a07e2e2efea7b1ce40176804c952..ed2a0c200c3798311db66980f3391b52ed67600e 100644 --- a/aleksis/core/templates/core/base_print.html +++ b/aleksis/core/templates/core/base_print.html @@ -5,6 +5,8 @@ <!DOCTYPE html> <html lang="{{ LANGUAGE_CODE }}"> <head> + <base href="{{ BASE_URL }}" /> + {% include "core/partials/meta.html" %} <title> diff --git a/aleksis/core/util/core_helpers.py b/aleksis/core/util/core_helpers.py index 148d33594d2cc0a2619a1c1a64c3b8fa69dad79c..55085d91031a1c591f71e4b8712b1cc7f3178cef 100644 --- a/aleksis/core/util/core_helpers.py +++ b/aleksis/core/util/core_helpers.py @@ -216,6 +216,7 @@ def custom_information_processor(request: Union[HttpRequest, None]) -> dict: "PWA_ICONS": regrouped_pwa_icons, "SENTRY_ENABLED": settings.SENTRY_ENABLED, "SITE_PREFERENCES": get_site_preferences(), + "BASE_URL": settings.BASE_URL, } if settings.SENTRY_ENABLED: