modified: app.py
new file: templates/landing.html
This commit is contained in:
7
app.py
7
app.py
@@ -95,10 +95,9 @@ def make_discord_session(token=None, state=None):
|
||||
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
if "username" in session:
|
||||
return render_template("index.html", bot_running=bot_status())
|
||||
return redirect(url_for("login"))
|
||||
def landing_page():
|
||||
"""Ungeschützte Landing Page"""
|
||||
return render_template("landing.html")
|
||||
|
||||
@app.route("/login")
|
||||
def login():
|
||||
|
||||
Reference in New Issue
Block a user