Add wsgi interface

This commit is contained in:
Tim Van Baak 2020-12-28 21:30:31 -08:00
parent 27e04e601a
commit 79574e3241
1 changed files with 4 additions and 0 deletions

View File

@ -166,3 +166,7 @@ def cache(cache_path):
return abort(404) return abort(404)
with open(path, 'rb') as f: with open(path, 'rb') as f:
return f.read() return f.read()
def wsgi():
return app