Flask Routing fix
Co-authored-by: Shiva Pochampally <PieLord757@users.noreply.github.com>
This commit is contained in:
@@ -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'])
|
||||
Reference in New Issue
Block a user