FIX HOME_URL quando c'e' ROUTE_PREFIX
This commit is contained in:
parent
a91c0f4eb2
commit
7262d14b83
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ def create_app(queue, larigira):
|
||||||
app.register_blueprint(rpc)
|
app.register_blueprint(rpc)
|
||||||
app.register_blueprint(viewui)
|
app.register_blueprint(viewui)
|
||||||
app.register_blueprint(db)
|
app.register_blueprint(db)
|
||||||
app.route("/")(
|
app.route(get_conf()["ROUTE_PREFIX"] + "/")(
|
||||||
lambda: redirect(get_conf()["ROUTE_PREFIX"] + get_conf()["HOME_URL"])
|
lambda: redirect(get_conf()["ROUTE_PREFIX"] + get_conf()["HOME_URL"])
|
||||||
)
|
)
|
||||||
app.queue = queue
|
app.queue = queue
|
||||||
|
|
Loading…
Reference in a new issue