diff --git a/frontend/src/components/ProxyHostForm.tsx b/frontend/src/components/ProxyHostForm.tsx index b6578a17..dabe6350 100644 --- a/frontend/src/components/ProxyHostForm.tsx +++ b/frontend/src/components/ProxyHostForm.tsx @@ -42,9 +42,9 @@ export default function ProxyHostForm({ host, onSubmit, onCancel }: ProxyHostFor const getDockerHostString = () => { if (connectionSource === 'local') return undefined; - if (connectionSource === 'custom') return undefined; + if (connectionSource === 'custom') return null; const server = remoteServers.find(s => s.uuid === connectionSource); - if (!server) return undefined; + if (!server) return null; // Construct the Docker host string return `tcp://${server.host}:${server.port}`; } @@ -250,7 +250,7 @@ export default function ProxyHostForm({ host, onSubmit, onCancel }: ProxyHostFor className="w-4 h-4 text-blue-600 bg-gray-900 border-gray-700 rounded focus:ring-blue-500" /> Force SSL -