Update settings.py

This commit is contained in:
Xavier Fiechter 2024-03-20 14:30:26 +01:00 committed by GitHub
parent 047ea71c48
commit 87886288a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ DEBUG = proj_config.getboolean("internal", "debug")
if DEBUG:
ALLOWED_HOSTS = ["*"]
else:
ALLOWED_HOSTS = [proj_config.get("internal", "allowed_host")]
ALLOWED_HOSTS = [proj_config.get("internal", "allowed_host"), "legacy.labelbase.space"]
sentry_sdk.init(
dsn="https://3b833ae08ccc4ff68793e961fff4921c@o4504646963232768.ingest.sentry.io/4504646967361536",