Commit f4ea3d6e authored by Nane Kratzke's avatar Nane Kratzke
Browse files

fixing subsequent calls from the data svc

parent 96c41df7
......@@ -29,11 +29,10 @@ def load_url(url, headers):
@app.route('/data')
def data():
h = request.headers
return jsonify({
'from': socket.gethostname(),
'astros': load_url(astro_svc, request.headers),
'position': load_url(position_svc, request.headers)
'astros': load_url(f"http://{astro_svc}", request.headers),
'position': load_url(f"http://{position_svc}", request.headers)
})
@app.route('/astros')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment