From b60b5d9d5b0dc05bbd4e114870f3d4e2445ba201 Mon Sep 17 00:00:00 2001 From: Daniel Reeves Date: Wed, 20 Nov 2024 16:13:52 -0500 Subject: [PATCH] update --- app/main.py | 3 ++- docs/src/development/index.md | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/main.py b/app/main.py index b85ef7d..0e7312b 100644 --- a/app/main.py +++ b/app/main.py @@ -48,7 +48,8 @@ def create_app(config: Optional[str] = None) -> Flask: # Fix an issue with some flask-admin stuff redirecting to "http". Because # we use HTTP BasicAuth, the http scheme is bad during authorized sessions. - # (This issue is specifically caused by Meinheld.) + # This issue was caused by Meinheld, which is no longer in the code, + # but it is here just to be safe since it does no harm. app.wsgi_app = ProxyFix(app.wsgi_app) return app diff --git a/docs/src/development/index.md b/docs/src/development/index.md index 5d611ef..e0780f7 100644 --- a/docs/src/development/index.md +++ b/docs/src/development/index.md @@ -15,12 +15,10 @@ class Twitter Bot Twitter Bot : /twitter.py Heroku Task Scheduler ..> PostgreSQL Heroku <.. Gunicorn -Gunicorn .. Meinheld Heroku .. Redis SQLAlchemy ..> blueprints Gunicorn <.. Flask : create_app() Gunicorn : /../Procfile -Meinheld : /../Procfile Heroku .. PostgreSQL blueprints ..> FlaskCaching class Flask