From b0d049555c7a5215a456ed5516b3135616da8281 Mon Sep 17 00:00:00 2001 From: C4 Patino Date: Mon, 26 Feb 2024 20:53:10 -0600 Subject: [PATCH] Modified settings to work with heroku --- CollegiateHouseWars/settings/prod.py | 4 ++-- requirements.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CollegiateHouseWars/settings/prod.py b/CollegiateHouseWars/settings/prod.py index ec536da..82732ba 100644 --- a/CollegiateHouseWars/settings/prod.py +++ b/CollegiateHouseWars/settings/prod.py @@ -8,11 +8,11 @@ DEBUG = False ALLOWED_HOSTS = [ 'csmb-housewars.c4patino.com', - '172.234.16.137', + 'collegiate-housewars-02810c3f29dc.herokuapp.com', ] CSRF_TRUSTED_ORIGINS = [ - 'http://172.234.16.137/', + 'http://collegiate-housewars-02810c3f29dc.herokuapp.com/' ] DATABASES = { diff --git a/requirements.txt b/requirements.txt index f7037d3..2576958 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,7 @@ charset-normalizer==3.3.2 Django==4.2.10 django-formtools==2.5.1 django-smart-selects==1.6.0 +gunicorn==21.2.0 h11==0.14.0 idna==3.6 mysqlclient==2.2.4