From 99e5a024b821eb1740fdb582ac0d4ac07231e1cb Mon Sep 17 00:00:00 2001 From: Jerrica Bobadilla Date: Mon, 19 Oct 2020 13:09:52 -0700 Subject: [PATCH] add heroku to whitelist --- django_rest_api/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_rest_api/settings.py b/django_rest_api/settings.py index 4e8c6bc..bab273d 100644 --- a/django_rest_api/settings.py +++ b/django_rest_api/settings.py @@ -30,7 +30,7 @@ SECRET_KEY = os.environ['SECRET_KEY'] # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['localhost'] +ALLOWED_HOSTS = ['localhost', 'afternoon-escarpment-71350.herokuapp.com'] # Application definition