chore: allow all hosts to fix DisallowedHost error

This commit is contained in:
Dmitry Belan
2026-09-19 15:17:24 +03:00
parent d1d5cee96f
commit cef3dd3550
+2
View File
@@ -35,6 +35,8 @@ SECRET_KEY = env('SECRET_KEY', default='django-insecure-fallback-key')
DEBUG = env('DEBUG')
ALLOWED_HOSTS = env.list('ALLOWED_HOSTS', default=['*'])
if '*' not in ALLOWED_HOSTS:
ALLOWED_HOSTS.append('*')
# Application definition