Skip to content

Commit

Permalink
Add localhost to allowed hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmwangemi authored Apr 21, 2021
1 parent 141b337 commit eb2584c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get('DJANGO_DEBUG', '') != 'False'

ALLOWED_HOSTS = ['blog-api-docs.herokuapp.com', '127.0.0.1']
ALLOWED_HOSTS = ['blog-api-docs.herokuapp.com', '127.0.0.1', 'localhost']


# Application definition
Expand Down

0 comments on commit eb2584c

Please sign in to comment.