chore: allow all hosts to fix DisallowedHost error
This commit is contained in:
@@ -35,6 +35,8 @@ SECRET_KEY = env('SECRET_KEY', default='django-insecure-fallback-key')
|
|||||||
DEBUG = env('DEBUG')
|
DEBUG = env('DEBUG')
|
||||||
|
|
||||||
ALLOWED_HOSTS = env.list('ALLOWED_HOSTS', default=['*'])
|
ALLOWED_HOSTS = env.list('ALLOWED_HOSTS', default=['*'])
|
||||||
|
if '*' not in ALLOWED_HOSTS:
|
||||||
|
ALLOWED_HOSTS.append('*')
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|||||||
Reference in New Issue
Block a user