Skip to content

Commit

Permalink
added localhost to allowed_hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
stuchalk committed May 19, 2024
1 parent 16c845c commit ee1a7f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sciflow/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ['sds.coas.unf.edu', '127.0.0.1']
ALLOWED_HOSTS = ['sds.coas.unf.edu', '127.0.0.1', 'localhost']

# cors setup
CORS_ORIGIN_ALLOW_ALL = False
Expand Down Expand Up @@ -69,6 +69,7 @@
'debug_toolbar.middleware.DebugToolbarMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'corsheaders.middleware.CorsMiddleware',
'allauth.account.middleware.AccountMiddleware',
]

REST_FRAMEWORK = {
Expand Down

0 comments on commit ee1a7f1

Please sign in to comment.