main: Add route to get site count
This commit is contained in:
parent
0365832e40
commit
6741f8cac2
@ -562,7 +562,10 @@ def success():
|
|||||||
return render_template('success.html')
|
return render_template('success.html')
|
||||||
|
|
||||||
|
|
||||||
|
@app.route('/site-count')
|
||||||
|
def site_count_route():
|
||||||
|
return str(get_sites_count())
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Admin page
|
# Admin page
|
||||||
|
Loading…
Reference in New Issue
Block a user