diff --git a/react_app.py b/react_app.py index 4edafd5a9eab365d2948f98b9ede94f749aeaad3..5643456d52ab16e23ed2cf0ffde4622c14ca4cf2 100644 --- a/react_app.py +++ b/react_app.py @@ -166,10 +166,14 @@ def show_result(): -@app.route('/') -# @cross_origin -def serve(): - return send_from_directory(app.static_folder, 'index.html') +# @app.route('/') +# # @cross_origin +# def serve(): +# return send_from_directory(app.static_folder, 'index.html') + +@app.route('/', methods=['GET']) +def hello(): + return {"response":"This is Auto-augment Application"} if __name__ == '__main__':