Skip to content

Commit a53a0a4

Browse files
tim-watchaihrpr
andauthored
Update src/mcp/server/fastmcp/server.py
Co-authored-by: ihrpr <[email protected]>
1 parent a443362 commit a53a0a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server/fastmcp/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ def sse_app(self, mount_path: str | None = None) -> Starlette:
603603
from starlette.routing import Mount, Route
604604

605605
# Update mount_path in settings if provided
606-
if mount_path:
606+
if mount_path is not None:
607607
self.settings.mount_path = mount_path
608608

609609
# Create normalized endpoint considering the mount path

0 commit comments

Comments
 (0)