From 79574e324190b23ad78741984220eb0f361c3f33 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Mon, 28 Dec 2020 21:30:31 -0800 Subject: [PATCH] Add wsgi interface --- inquisitor/app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inquisitor/app.py b/inquisitor/app.py index 041e86e..5c447be 100644 --- a/inquisitor/app.py +++ b/inquisitor/app.py @@ -166,3 +166,7 @@ def cache(cache_path): return abort(404) with open(path, 'rb') as f: return f.read() + + +def wsgi(): + return app