From 48818c64c854c277172e42f981d2c51f9ecf36bb Mon Sep 17 00:00:00 2001 From: Beppe Vanrolleghem Date: Mon, 24 Feb 2020 10:34:10 +0100 Subject: [PATCH] die pods wille maar nie geexposed worde --- serverA/app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/serverA/app.py b/serverA/app.py index 6ca7867..aa7bbbb 100644 --- a/serverA/app.py +++ b/serverA/app.py @@ -8,6 +8,10 @@ URL = "http://server-check:6000" @app.route('/') def doRequest(): + return "it works" + +@app.route('/check') +def itWorks(): return requests.get(URL).json()