Default transport type to HTTP instead of auto
This commit is contained in:
parent
39043c12d6
commit
4e4d9d99a3
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ const McpServerModal: React.FC<McpServerModalProps> = ({ isOpen, onClose, onTool
|
||||||
})
|
})
|
||||||
const [transportType, setTransportType] = useState<'auto' | 'http' | 'sse'>(() => {
|
const [transportType, setTransportType] = useState<'auto' | 'http' | 'sse'>(() => {
|
||||||
const stored = localStorage.getItem('mcpTransportType')
|
const stored = localStorage.getItem('mcpTransportType')
|
||||||
return (stored as 'auto' | 'http' | 'sse') || 'auto'
|
return (stored as 'auto' | 'http' | 'sse') || 'http'
|
||||||
})
|
})
|
||||||
|
|
||||||
// Helper to cycle through transport types
|
// Helper to cycle through transport types
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue