mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 12:02:47 +00:00
changes
This commit is contained in:
@@ -14,6 +14,9 @@ def doRequest():
|
||||
def itWorks():
|
||||
return requests.get(URL).json()
|
||||
|
||||
@app.route('/find/<name>/<port>')
|
||||
def findServer(name, port):
|
||||
return requests.get("http://"+name+":"+port)
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True, host="0.0.0.0", port=5000)
|
||||
|
Reference in New Issue
Block a user