From d33edc21102635dafb4f7a04051cc7db7b953d52 Mon Sep 17 00:00:00 2001 From: Q2-Computing Date: Sat, 6 Nov 2021 21:54:55 -0400 Subject: [PATCH] Modifying the Django settings.py file setting PREPEND_WWW = True handles this issue. --- open_humans/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/open_humans/settings.py b/open_humans/settings.py index f0729963..ed0f0f9f 100644 --- a/open_humans/settings.py +++ b/open_humans/settings.py @@ -534,5 +534,6 @@ def to_bool(env, default="false"): SECURE_SSL_REDIRECT = True SESSION_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True + PREPEND_WWW = True django_heroku.settings(locals())