From 5f8c2ffa12f8aba5954f612db0e7e0fc888a5885 Mon Sep 17 00:00:00 2001 From: Mathias Markl Date: Mon, 22 Jan 2018 12:50:53 +0100 Subject: [PATCH] Update main.py --- muk_fields_lobject/controllers/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/muk_fields_lobject/controllers/main.py b/muk_fields_lobject/controllers/main.py index 80914ae..d3bc248 100644 --- a/muk_fields_lobject/controllers/main.py +++ b/muk_fields_lobject/controllers/main.py @@ -39,7 +39,7 @@ _logger = logging.getLogger(__name__) class LargeObjectController(http.Controller): - @http.route(['/web/content', + @http.route(['/web/lobject', '/web/lobject/', '/web/lobject//', '/web/lobject/', @@ -77,4 +77,4 @@ class LargeObjectController(http.Controller): if download: headers.append(('Content-Disposition', http.content_disposition(filename))) return wrappers.Response(content, headers=headers, direct_passthrough=True, status=status) - \ No newline at end of file +