fix
This commit is contained in:
@@ -109,3 +109,15 @@ def index():
|
|||||||
return render_template('index.html', message=message)
|
return render_template('index.html', message=message)
|
||||||
|
|
||||||
return render_template('index.html')
|
return render_template('index.html')
|
||||||
|
|
||||||
|
|
||||||
|
@main_bp.route('/home')
|
||||||
|
@requires_auth
|
||||||
|
def home():
|
||||||
|
frontend_count, backend_count, acl_count, layer7_count, layer4_count = count_frontends_and_backends()
|
||||||
|
return render_template('home.html',
|
||||||
|
frontend_count=frontend_count,
|
||||||
|
backend_count=backend_count,
|
||||||
|
acl_count=acl_count,
|
||||||
|
layer7_count=layer7_count,
|
||||||
|
layer4_count=layer4_count)
|
||||||
|
|||||||
Reference in New Issue
Block a user