From b495c23446c5276952b907306b85364e3836c53c Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 12 Jul 2025 04:26:16 +0530 Subject: [PATCH] Add Railway domain to ALLOWED_HOSTS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add netcop.up.railway.app to ALLOWED_HOSTS to fix DisallowedHost error 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- netcop_hub/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netcop_hub/settings.py b/netcop_hub/settings.py index 213e11a..8fdbafe 100644 --- a/netcop_hub/settings.py +++ b/netcop_hub/settings.py @@ -30,7 +30,7 @@ SECRET_KEY = config('SECRET_KEY', default='django-insecure-thdd^re4==p$4geq^$52w # SECURITY WARNING: don't run with debug turned on in production! DEBUG = config('DEBUG', default=True, cast=bool) -ALLOWED_HOSTS = config('ALLOWED_HOSTS', default='localhost,127.0.0.1,testserver').split(',') +ALLOWED_HOSTS = config('ALLOWED_HOSTS', default='localhost,127.0.0.1,testserver,netcop.up.railway.app').split(',') # Application definition