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

Fix broken uitwww run -d

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