Flask Routing fix

Co-authored-by: Shiva Pochampally <PieLord757@users.noreply.github.com>
This commit is contained in:
2024-09-14 10:42:36 -04:00
parent 3728c714fb
commit 926964f774
3 changed files with 25 additions and 23 deletions

View File

@@ -9,8 +9,8 @@ app = Flask(__name__)
app.storage = MongoDB(config)
@app.route('/', methods=['GET'])
def hello_world():
return 'Hello, World!'
@app.route("/", methods=['GET'])
def home():
return "Hello World"
app.run(port=config['PORT'], debug=True)
app.run(port=config['PORT'])