main: Add route to get site count
All checks were successful
Build Docker / Build Master (push) Successful in 24s
Build Docker / Build Bot (push) Successful in 22s

This commit is contained in:
Nathan Woodburn 2023-09-18 14:42:43 +10:00
parent 0365832e40
commit 6741f8cac2
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -562,7 +562,10 @@ def success():
return render_template('success.html')
@app.route('/site-count')
def site_count_route():
return str(get_sites_count())
# Admin page