Commit 1f3db333 authored by Pietro Albini's avatar Pietro Albini

Fix broken uitwww run -d

parent d7e7578d
......@@ -38,7 +38,8 @@ def cli():
@click.option("-d", "--debug", help="Enable debug mode", is_flag=True)
def run(cache, gunicorn_config, port, public, workers, debug):
# Create the application instance
app = utils.ReverseProxied(uitwww.create_app(cache))
app = uitwww.create_app(cache)
app.wsgi_app = utils.ReverseProxied(app.wsgi_app)
host = ""
if public:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment