update patterns, snippets, extensions docs

This commit is contained in:
David Lord 2019-09-23 08:19:40 -07:00
parent c074422cfd
commit e01b68e7ee
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
9 changed files with 71 additions and 71 deletions

View file

@ -62,12 +62,12 @@ dispatched based on prefix.
For example you could have your main application run on ``/`` and your
backend interface on ``/backend``::
from werkzeug.wsgi import DispatcherMiddleware
from werkzeug.middleware.dispatcher import DispatcherMiddleware
from frontend_app import application as frontend
from backend_app import application as backend
application = DispatcherMiddleware(frontend, {
'/backend': backend
'/backend': backend
})