Skip to content

Commit

Permalink
🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Nov 30, 2023
1 parent 3e8f8b3 commit baf4c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/demo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ async def sse_experiment() -> StreamingResponse:
return StreamingResponse(sse_generator(), media_type='text/event-stream')


@router.get('/{path:path}')
@router.get('/{path:path}', status_code=404)
async def api_404():
# so we don't fall through to the index page
return {'message': 'Not Found'}

0 comments on commit baf4c50

Please sign in to comment.