mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-20 20:44:17 +02:00
Update server.py
This commit is contained in:
parent
4355112cb3
commit
508534fb55
1 changed files with 1 additions and 0 deletions
|
|
@ -784,6 +784,7 @@ class FastMCP(Generic[LifespanResultT]):
|
|||
host=host or self.settings.host,
|
||||
port=port or self.settings.port,
|
||||
log_level=log_level or self.settings.log_level.lower(),
|
||||
# lifespan is required for streamable http
|
||||
lifespan="on",
|
||||
**uvicorn_config,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue