File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1313from beeline .middleware .flask import HoneyMiddleware
1414
1515from flask import Flask , jsonify , request
16+ from werkzeug .middleware .proxy_fix import ProxyFix
1617
1718from .settings import config
1819
2526
2627app = Flask (__name__ )
2728app .config .update (** config )
29+ app .wsgi_app = ProxyFix (app .wsgi_app , x_proto = 1 , x_host = 1 )
2830if config ['HONEYCOMB_KEY' ]:
2931 beeline .init (writekey = config ['HONEYCOMB_KEY' ], dataset = 'rws' , service_name = 'appstore-api' )
3032 HoneyMiddleware (app , db_events = True )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ requests==2.19.1
1919six == 1.11.0
2020SQLAlchemy == 1.2.8
2121urllib3 == 1.23
22- Werkzeug == 0.14 .1
22+ Werkzeug == 0.16 .1
2323boto3 == 1.9.169
2424PyYAML == 5.1.2
2525honeycomb-beeline == 2.11.4
You can’t perform that action at this time.
0 commit comments