def index(path): """Catch-all""" return render_template('base.html', stats=get_stats())
def api_stats(): return jsonify(get_stats())