Commit 526de187 authored by okhin's avatar okhin 🚴

Adding internal IP to get DDT to work

parent 11a6248b
Pipeline #2505 passed with stages
in 3 minutes and 3 seconds
......@@ -10,5 +10,6 @@ from .env import DEBUG
if DEBUG:
ALLOWED_HOSTS = ['*']
INTERNAL_IPS = ('127.0.0.1',)
elif 'DJANGO_ALLOWED_HOSTS' in os.environ:
ALLOWED_HOSTS = [os.environ['DJANGO_ALLOWED_HOSTS']]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment