Add Railway domain to ALLOWED_HOSTS

Add netcop.up.railway.app to ALLOWED_HOSTS to fix DisallowedHost error

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude 2025-07-12 04:26:16 +05:30
parent 3c8a0e5ba1
commit b495c23446

View File

@ -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! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = config('DEBUG', default=True, cast=bool) 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 # Application definition