1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

Remove an exception trigger in the main init file

This commit is contained in:
Pierre Jaury 2016-11-08 20:31:53 +01:00
parent 2346120765
commit afbcb9b8c6

View File

@ -67,5 +67,4 @@ app.register_blueprint(admin.app, url_prefix='/admin')
@app.route("/")
def index():
return 1/0
return flask.redirect(flask.url_for("admin.index"))