Fix: include subpath in logo url (#8374)

This commit is contained in:
shamoon
2024-11-28 08:11:35 -08:00
parent c08ca6e3e5
commit 771b6606e0
2 changed files with 23 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ def settings(request):
app_logo = (
django_settings.APP_LOGO
if general_config.app_logo is None or len(general_config.app_logo) == 0
else general_config.app_logo
else django_settings.BASE_URL + general_config.app_logo.lstrip("/")
)
return {