Skip to content

Commit

Permalink
Update settings.py to enable DEBUG mode on dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
Anirban-Majumder committed Apr 13, 2024
1 parent ad6d206 commit 1aa4df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
'https://paws-backend.azurewebsites.net',
]

if RUNNING_DEVSERVER:
if RUNNING_DEVSERVER or DEBUG:
print("Running on dev server")
ALLOWED_HOSTS += ['localhost', '127.0.0.1']
CORS_ALLOWED_ORIGINS += [
Expand Down

0 comments on commit 1aa4df2

Please sign in to comment.