From 670cbc8997870b423baa6be76a3609c84306cc83 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Wed, 5 Jul 2023 11:32:17 +0200 Subject: [PATCH] modify allowed hosts --- .gitignore | 1 + CTOAsYouGo/CTOAsYouGo/settings.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0878e81..6b850ba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea/ *.pyc +*.swp __pycache__/ diff --git a/CTOAsYouGo/CTOAsYouGo/settings.py b/CTOAsYouGo/CTOAsYouGo/settings.py index f5cd160..0aa03c5 100644 --- a/CTOAsYouGo/CTOAsYouGo/settings.py +++ b/CTOAsYouGo/CTOAsYouGo/settings.py @@ -26,7 +26,7 @@ SECRET_KEY = 'django-insecure-d8gmbk-g2&ue)k_74169!l@oiue8ra%@d4qm@jc=3&%&*%(oah # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'ctoasyougo.com', 'www.ctoasyougo.com','ctoasyougo-3015a1b209e7.herokuapp.com'] # Application definition