Spaces:
Sleeping
Sleeping
Commit ·
db16d90
1
Parent(s): 7175a27
change name.
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: 🌍
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: red
|
|
|
|
| 1 |
---
|
| 2 |
+
title: node
|
| 3 |
emoji: 🌍
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: red
|
app.py
CHANGED
|
@@ -4,8 +4,8 @@ app = FastAPI()
|
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
def greet_json():
|
| 7 |
-
return {"Hello": "World!"}
|
| 8 |
|
| 9 |
@app.get("/hello/")
|
| 10 |
def hello_json():
|
| 11 |
-
return {"Hello": "FastAPI World!"}
|
|
|
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
def greet_json():
|
| 7 |
+
return {"Hello": "Node World!"}
|
| 8 |
|
| 9 |
@app.get("/hello/")
|
| 10 |
def hello_json():
|
| 11 |
+
return {"Hello": "FastAPI Node World!"}
|