Update app/api/routes.py
Browse files- app/api/routes.py +1 -0
app/api/routes.py
CHANGED
|
@@ -39,6 +39,7 @@ async def generate_story(request: StoryRequest):
|
|
| 39 |
)
|
| 40 |
|
| 41 |
@router.get("/health")
|
|
|
|
| 42 |
async def health_check():
|
| 43 |
"""
|
| 44 |
Simple health check endpoint to keep the space awake.
|
|
|
|
| 39 |
)
|
| 40 |
|
| 41 |
@router.get("/health")
|
| 42 |
+
@router.head("/health") # Add support for HEAD requests
|
| 43 |
async def health_check():
|
| 44 |
"""
|
| 45 |
Simple health check endpoint to keep the space awake.
|