Skip to content
Snippets Groups Projects
Commit ef2ae373 authored by Mia Wang's avatar Mia Wang
Browse files

change root directory

parent c7ec9737
No related branches found
No related tags found
No related merge requests found
Pipeline #272037 failed
...@@ -166,10 +166,14 @@ def show_result(): ...@@ -166,10 +166,14 @@ def show_result():
@app.route('/') # @app.route('/')
# @cross_origin # # @cross_origin
def serve(): # def serve():
return send_from_directory(app.static_folder, 'index.html') # 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__': if __name__ == '__main__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment