Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dwreeves committed Nov 20, 2024
1 parent 87bb183 commit b60b5d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions docs/src/development/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b60b5d9

Please sign in to comment.