File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Here is a full example of a `TodoMVC <http://todomvc.com/>`_ API.
77
88 from flask import Flask
99 from flask_restx import Api, Resource, fields
10- from werkzeug.contrib.fixers import ProxyFix
10+ from werkzeug.middleware.proxy_fix import ProxyFix
1111
1212 app = Flask(__name__ )
1313 app.wsgi_app = ProxyFix(app.wsgi_app)
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ and to set the type to :class:`~werkzeug.datastructures.FileStorage`.
249249 url = do_something_with_file(uploaded_file)
250250 return {' url' : url}, 201
251251
252- See the `dedicated Flask documentation section <http ://flask.pocoo.org/docs/0.10 /patterns/fileuploads/ >`_.
252+ See the `dedicated Flask documentation section <https ://flask.palletsprojects.com/en/1.1.x /patterns/fileuploads/ >`_.
253253
254254
255255Error Handling
You can’t perform that action at this time.
0 commit comments