From 0a45168b8736a9e89c78bb5763b745bf3dc3dd0b Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 7 Apr 2024 16:50:26 -0400 Subject: [PATCH 1/2] fix icon path --- boofilsic/settings.py | 2 +- common/static/img/{logo-icon.png => icon.png} | Bin common/templates/common_libs.html | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename common/static/img/{logo-icon.png => icon.png} (100%) diff --git a/boofilsic/settings.py b/boofilsic/settings.py index d441a2093..7f18e52af 100644 --- a/boofilsic/settings.py +++ b/boofilsic/settings.py @@ -31,7 +31,7 @@ NEODB_SITE_NAME=(str), NEODB_SITE_DOMAIN=(str), NEODB_SITE_LOGO=(str, "/s/img/logo.svg"), - NEODB_SITE_ICON=(str, "/s/img/logo.svg"), + NEODB_SITE_ICON=(str, "/s/img/icon.png"), NEODB_USER_ICON=(str, "/s/img/avatar.svg"), NEODB_SITE_INTRO=(str, ""), NEODB_SITE_HEAD=(str, ""), diff --git a/common/static/img/logo-icon.png b/common/static/img/icon.png similarity index 100% rename from common/static/img/logo-icon.png rename to common/static/img/icon.png diff --git a/common/templates/common_libs.html b/common/templates/common_libs.html index 137514445..adda1f257 100644 --- a/common/templates/common_libs.html +++ b/common/templates/common_libs.html @@ -48,7 +48,7 @@ })(); - + {% if request.META.HTTP_HOST == site_domain %} From aa82347d89fe6d004fd7f36921c6f80fed916272 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 7 Apr 2024 17:00:11 -0400 Subject: [PATCH 2/2] fix docker health check --- boofilsic/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boofilsic/settings.py b/boofilsic/settings.py index 7f18e52af..a1f918d5d 100644 --- a/boofilsic/settings.py +++ b/boofilsic/settings.py @@ -209,7 +209,7 @@ SITE_DOMAINS = [SITE_DOMAIN] + ALTERNATIVE_DOMAINS -ALLOWED_HOSTS = SITE_DOMAINS +ALLOWED_HOSTS = SITE_DOMAINS + ["127.0.0.1"] ENABLE_LOCAL_ONLY = env("NEODB_ENABLE_LOCAL_ONLY")