Harden canonical and robots URLs to production host

This commit is contained in:
2026-05-24 17:44:52 +02:00
parent b56238dfc4
commit 9f4fd9278a
3 changed files with 43 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ ALLOWED_HOSTS = [
"www.mandelblog.com",
"mandelblog.com",
]
CANONICAL_BASE_URL = "https://www.mandelblog.com"
if "salt_target" in globals():
ALLOWED_HOSTS.append("mandelstudio.%s" % salt_target) # pylint: disable=E0602
# pylint: disable=E0602