Spaces:
Runtime error
Runtime error
dwfefef commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,6 @@ async def sign_petition(data: PetitionSign):
|
|
| 37 |
|
| 38 |
return JSONResponse(content={"message": "Your signature has been saved!"})
|
| 39 |
|
| 40 |
-
@app.get("/")
|
| 41 |
async def read_root():
|
| 42 |
return {"message": "Welcome to the API! Visit /static for the static site."}
|
|
|
|
| 37 |
|
| 38 |
return JSONResponse(content={"message": "Your signature has been saved!"})
|
| 39 |
|
| 40 |
+
@app.get("/test")
|
| 41 |
async def read_root():
|
| 42 |
return {"message": "Welcome to the API! Visit /static for the static site."}
|