From b7b0c1adf78bec590376d45f7bd19443f6a11e6d Mon Sep 17 00:00:00 2001 From: humanauction Date: Mon, 26 Jan 2026 14:03:50 +0000 Subject: [PATCH] Add: Procfile to use app:app; Add: settings.py: render hosts, comment out Heroku domains. --- Procfile | 2 +- config/settings.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Procfile b/Procfile index 1002183..8001d1a 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: gunicorn config.wsgi \ No newline at end of file +web: gunicorn app:app \ No newline at end of file diff --git a/config/settings.py b/config/settings.py index 0a3bb39..43dc196 100644 --- a/config/settings.py +++ b/config/settings.py @@ -27,7 +27,10 @@ ] CSRF_TRUSTED_ORIGINS = [ - 'https://*.herokuapp.com', + # 'https://*.herokuapp.com', + # render shared addresses + '74.220.49.0/24', + '74.220.57.0/24', 'http://127.0.0.1:8000', 'http://localhost:8000' ]