Spaces:
Sleeping
Sleeping
Commit ·
cc2137e
1
Parent(s): 3e8d462
fix: post instead of get in app.py
Browse filesSigned-off-by: Gagan Ahlawat <gagan.devvv@gmail.com>
- server/app.py +1 -1
server/app.py
CHANGED
|
@@ -480,7 +480,7 @@ app = FastAPI()
|
|
| 480 |
api_router = APIRouter()
|
| 481 |
|
| 482 |
@api_router.post("/reset")
|
| 483 |
-
@api_router.
|
| 484 |
async def reset_endpoint():
|
| 485 |
return {"status": "ok"}
|
| 486 |
|
|
|
|
| 480 |
api_router = APIRouter()
|
| 481 |
|
| 482 |
@api_router.post("/reset")
|
| 483 |
+
@api_router.post("/reset/")
|
| 484 |
async def reset_endpoint():
|
| 485 |
return {"status": "ok"}
|
| 486 |
|