File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
from flask import Flask
2
- from werkzeug .contrib . fixers import ProxyFix
2
+ from werkzeug .middleware . proxy_fix import ProxyFix
3
3
4
4
from zoo import api
5
5
Original file line number Diff line number Diff line change 1
1
from flask import Flask
2
2
from flask_restx import Api , Resource , fields
3
- from werkzeug .contrib . fixers import ProxyFix
3
+ from werkzeug .middleware . proxy_fix import ProxyFix
4
4
5
5
app = Flask (__name__ )
6
6
app .wsgi_app = ProxyFix (app .wsgi_app )
Original file line number Diff line number Diff line change 1
1
from flask import Flask
2
2
from flask_restx import Api , Resource , fields
3
- from werkzeug .contrib . fixers import ProxyFix
3
+ from werkzeug .middleware . proxy_fix import ProxyFix
4
4
5
5
app = Flask (__name__ )
6
6
app .wsgi_app = ProxyFix (app .wsgi_app )
You can’t perform that action at this time.
0 commit comments