We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 944a29c + 3120e5a commit c61d15eCopy full SHA for c61d15e
1 file changed
app/__init__.py
@@ -23,7 +23,7 @@
23
24
app = Flask(__name__, static_folder='app/static')
25
if environ['FLASK_ENV'] != 'development':
26
- app = ProxyFix(app, x_for=1, x_host=1)
+ app.wsgi_app = ProxyFix(app, x_for=1, x_host=1)
27
limiter = Limiter(
28
app,
29
key_func=get_remote_address,
0 commit comments