add route
Browse files
main.py
CHANGED
@@ -4,4 +4,8 @@ app = Flask(__name__)
|
|
4 |
|
5 |
@app.route("/")
|
6 |
def hello():
|
7 |
-
return {"hello":"Deploy success"}
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
@app.route("/")
|
6 |
def hello():
|
7 |
+
return {"hello":"Deploy success"}
|
8 |
+
|
9 |
+
@app.route("/<text>")
|
10 |
+
def returnText(text):
|
11 |
+
return f'The text is {text}'
|