garvitcpp commited on
Commit
1685af4
·
verified ·
1 Parent(s): fe13fc4

Update app/api/routes.py

Browse files
Files changed (1) hide show
  1. 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.