diff --git a/contact/__pycache__/models.cpython-310.pyc b/contact/__pycache__/models.cpython-310.pyc index e174c842..ef64d026 100644 Binary files a/contact/__pycache__/models.cpython-310.pyc and b/contact/__pycache__/models.cpython-310.pyc differ diff --git a/saburly/settings/production.py b/saburly/settings/production.py index 2b408941..cec85ba0 100644 --- a/saburly/settings/production.py +++ b/saburly/settings/production.py @@ -7,7 +7,7 @@ load_dotenv() DEBUG = False -ALLOWED_HOSTS = ['18.196.202.28'] +ALLOWED_HOSTS = ['18.196.202.28','www.saburly.com','saburly.com'] SECRET_KEY = os.getenv('SECRET_KEY') @@ -29,6 +29,8 @@ MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media') + +SECURE_SSL_REDIRECT = True SESSION_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True SECURE_HSTS_SECONDS = 31536000 diff --git a/templates/footer.html b/templates/footer.html index 524fb1ca..8d528b65 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -20,28 +20,6 @@