py requirements.txt
This commit is contained in:
1 parent
89c5e81623
commit
57e03eb4b8
3 files changed
+2
-2
No files matched your search
Binary file not shown.
Whitespace-only changes.
@@ -2,8 +2,8 @@ from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route('/')
|
||||
def hello():
|
||||
@app.route('/', methods=['GET'])
|
||||
def hello_world():
|
||||
return 'Hello, World!'
|
||||
|
||||
app.run(port=5000)
|
||||
Reference in new issue
Block a user