modified: app.py
new file: templates/about.html new file: templates/contact.html new file: templates/faq.html new file: templates/help.html
This commit is contained in:
20
app.py
20
app.py
@@ -108,6 +108,26 @@ def login():
|
||||
session['oauth_state'] = state
|
||||
return redirect(authorization_url)
|
||||
|
||||
@app.route("/about")
|
||||
def about():
|
||||
"""Zeigt eine öffentliche Über uns Seite an."""
|
||||
return render_template("about.html")
|
||||
|
||||
@app.route("/contact")
|
||||
def contact():
|
||||
"""Zeigt eine öffentliche Kontaktseite an."""
|
||||
return render_template("contact.html")
|
||||
|
||||
@app.route("/faq")
|
||||
def faq():
|
||||
"""Zeigt eine öffentliche FAQ Seite an."""
|
||||
return render_template("faq.html")
|
||||
|
||||
@app.route("/help")
|
||||
def help_page():
|
||||
"""Zeigt eine öffentliche Hilfeseite an."""
|
||||
return render_template("help.html")
|
||||
|
||||
@app.route("/callback")
|
||||
def callback():
|
||||
"""Verarbeitet den OAuth2-Rückruf von Discord."""
|
||||
|
||||
Reference in New Issue
Block a user