feat: Add redirects for old pages
All checks were successful
Build Docker / Build Image (push) Successful in 54s

This commit is contained in:
2025-08-07 17:45:33 +10:00
parent be4432386b
commit 21aa0c3eeb
3 changed files with 17 additions and 1 deletions

View File

@@ -435,6 +435,22 @@ def catch_all(path):
return render_template('404.html'), 404
# Redirects
@app.route('/contact')
def contact():
return redirect('/#contact')
@app.route('/about')
def about():
return redirect('/#about')
@app.route('/support')
@app.route('/donate')
def donate():
return redirect('/#support')
# 404 catch all
@app.errorhandler(404)
def not_found(e):