riep de functie nergens aan

This commit is contained in:
ishak jmilou.ishak
2025-01-21 16:13:26 +01:00
parent 899aa94b40
commit f493665275

View File

@@ -85,6 +85,7 @@ def index():
@app.route('/control', methods=["GET", "POST"]) @app.route('/control', methods=["GET", "POST"])
def control(): def control():
if request.authorization and request.authorization.username == 'ishak' and request.authorization.password == 'kobuki': if request.authorization and request.authorization.username == 'ishak' and request.authorization.password == 'kobuki':
yolo_results_db()
return render_template('control.html') return render_template('control.html')
else: else:
return ('Unauthorized', 401, {'WWW-Authenticate': 'Basic realm="Login Required"'}) return ('Unauthorized', 401, {'WWW-Authenticate': 'Basic realm="Login Required"'})