Skip to content

Commit e186dc4

Browse files
AfizSteadBytes
authored andcommitted
ProxyFix import issue has been fixed.
1 parent a63f865 commit e186dc4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/complex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from flask import Flask
2-
from werkzeug.contrib.fixers import ProxyFix
2+
from werkzeug.middleware.proxy_fix import ProxyFix
33

44
from zoo import api
55

examples/todo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from flask import Flask
22
from flask_restx import Api, Resource, fields
3-
from werkzeug.contrib.fixers import ProxyFix
3+
from werkzeug.middleware.proxy_fix import ProxyFix
44

55
app = Flask(__name__)
66
app.wsgi_app = ProxyFix(app.wsgi_app)

examples/todomvc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from flask import Flask
22
from flask_restx import Api, Resource, fields
3-
from werkzeug.contrib.fixers import ProxyFix
3+
from werkzeug.middleware.proxy_fix import ProxyFix
44

55
app = Flask(__name__)
66
app.wsgi_app = ProxyFix(app.wsgi_app)

0 commit comments

Comments
 (0)