fixes routing bug and provides temporary fix for css overlap

This commit is contained in:
Raphael Maenle 2020-06-06 23:49:39 +02:00
parent 39b899283c
commit 6374c8d983
2 changed files with 3 additions and 2 deletions

View File

@ -185,13 +185,13 @@ def callback():
# Begin user session by logging the user in
login_user(user)
return flask.redirect(flask.url_for('index'))
return flask.redirect(flask.url_for('account'))
@app.route("/logout")
@login_required
def logout():
logout_user()
return redirect(url_for("index"))
return redirect(url_for("startpage"))
@app.route("/device/<path:device>/calendarevents.json")

View File

@ -4,6 +4,7 @@ body
{
font-family: "Trebuchet MS", Helvetica, sans-serif;
padding: 0;
margin: 0;
height: calc(100% - 0.5rem)
}