diff --git a/app.py b/app.py index 8424368..bfa45cd 100644 --- a/app.py +++ b/app.py @@ -101,7 +101,7 @@ def display_haproxy_stats(): return render_template('statistics.html', stats=parsed_stats) -@app.route('/logs') +@app.route('/logs', endpoint='display_logs') #@requires_auth def display_haproxy_logs(): log_file_path = '/var/log/haproxy.log'