From f11ee9f51b4d39e3fc1698a48899340a716a5036 Mon Sep 17 00:00:00 2001 From: Wojciech Kubicki Date: Fri, 26 May 2023 02:13:01 +0200 Subject: [PATCH] changed message to 'Joe mama' --- restart_this_app.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/restart_this_app.py b/restart_this_app.py index 79ab36c..5e22a92 100644 --- a/restart_this_app.py +++ b/restart_this_app.py @@ -1,14 +1,14 @@ -from flask import Flask, request -import json - -app = Flask(__name__) - -@app.route('/restart-this-app') -def funky_function(): - data = { 'message': "Hello World!" } - response = json.dumps(data) - - return response, 200, { 'Content-Type': 'application/json' } - -if __name__ == '__main__': - app.run(host='0.0.0.0', port=5002) +from flask import Flask, request +import json + +app = Flask(__name__) + +@app.route('/restart-this-app') +def funky_function(): + data = { 'message': "Joe mama" } + response = json.dumps(data) + + return response, 200, { 'Content-Type': 'application/json' } + +if __name__ == '__main__': + app.run(host='0.0.0.0', port=5002)