mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 12:02:47 +00:00
tga werke
This commit is contained in:
17
server-b/app.py
Normal file
17
server-b/app.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from flask import Flask
|
||||
from flask import jsonify
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
@app.route('/')
|
||||
def doRequest():
|
||||
data = {
|
||||
"serverName": "serverB",
|
||||
"version": "master",
|
||||
"success": "true"
|
||||
}
|
||||
return jsonify(data)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True, host="0.0.0.0", port=6000)
|
Reference in New Issue
Block a user