Added a donation page

This commit is contained in:
xemeds
2020-07-23 18:26:18 +00:00
parent 0fad841ee6
commit d1ad9ace3e
7 changed files with 46 additions and 6 deletions
+4
View File
@@ -44,6 +44,10 @@ def short_url(token):
# Redirect to the url of the token
return redirect(query.url)
# Donate route
@app.route("/donate")
def donate():
return render_template("donate.html")
# Error handling routes
@app.errorhandler(404)