From cd374dab812d30849ab2143f107a4357bee50744 Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Thu, 5 Dec 2024 13:40:34 +0100 Subject: [PATCH] rename index route to database and update response message --- src/Python/flask/web/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index cb9978e..1eb18e6 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -60,8 +60,8 @@ def phpmyadmin_passthrough(path): # Laat Apache deze route direct afhandelen return "", 404 -@app.route("/index") -def index(): +@app.route("/database") +def database(): return "Connected to database" if __name__ == '__main__':