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