From 9ee795a6946bca7fbac1032343a85a2dad3d48fd Mon Sep 17 00:00:00 2001 From: kaiyou Date: Sat, 16 Sep 2017 17:53:16 +0200 Subject: [PATCH] Redirect / to /webmail by default --- admin/mailu/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/mailu/__init__.py b/admin/mailu/__init__.py index 85b908c4..df5851d1 100644 --- a/admin/mailu/__init__.py +++ b/admin/mailu/__init__.py @@ -71,4 +71,4 @@ app.register_blueprint(admin.app, url_prefix='/admin') @app.route("/") def index(): - return flask.redirect(flask.url_for("admin.index")) + return flask.redirect("/webmail")