Added a donation page
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user