Skip to content
Snippets Groups Projects
Verified Commit ad5f860d authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Set explicit base URL in base templates

parent 473aa42f
No related branches found
No related tags found
1 merge request!931Resolve "PDF generation broken with S3 storage"
Pipeline #51542 passed
......@@ -5,6 +5,8 @@
<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE }}">
<head>
<base href="{{ BASE_URL }}" />
{% include "core/partials/meta.html" %}
<title>
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment