diff options
Diffstat (limited to 'module/web/webinterface.py')
-rw-r--r-- | module/web/webinterface.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/web/webinterface.py b/module/web/webinterface.py index 387a2cbbf..17be5c3b3 100644 --- a/module/web/webinterface.py +++ b/module/web/webinterface.py @@ -98,6 +98,7 @@ session_opts = { web = StripPathMiddleware(SessionMiddleware(app(), session_opts)) web = GZipMiddleWare(web) +#install(otfcompress) import pyload_app import json_app @@ -106,6 +107,9 @@ import cnl_app def run_simple(host="0.0.0.0", port="8000"): run(app=web, host=host, port=port, quiet=True) +def run_lightweight(host="0.0.0.0", port="8000"): + run(app=web, host=host, port=port, quiet=True, server="bjoern") + def run_threaded(host="0.0.0.0", port="8000", theads=3, cert="", key=""): from wsgiserver import CherryPyWSGIServer if cert and key: |