From 75d0483072f1380d53e80d38012d03249096031a Mon Sep 17 00:00:00 2001 From: Antoine Amarilli Date: Sat, 13 Feb 2016 16:06:12 +0100 Subject: Fix typo in doc code snippet --- docs/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.rst b/docs/faq.rst index 4a025d9..da1deda 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -49,7 +49,7 @@ Redirects and url-building only works if bottle knows the public address and loc environ['wsgi.url_scheme'] = 'https' environ['HTTP_X_FORWARDED_HOST'] = 'example.com' return app(environ, start_response) - return https_app + return fixed_app app = bottle.default_app() app.wsgi = fix_environ_middleware(app.wsgi) -- cgit v1.2.1