(value: string)
| 81 | const checkServerHealth = useCheckServerHealth() |
| 82 | |
| 83 | const looksComplete = (value: string) => { |
| 84 | const normalized = normalizeServerUrl(value) |
| 85 | if (!normalized) return false |
| 86 | const host = normalized.replace(/^https?:\/\//, "").split("/")[0] |
| 87 | if (!host) return false |
| 88 | if (host.includes("localhost") || host.startsWith("127.0.0.1")) return true |
| 89 | return host.includes(".") || host.includes(":") |
| 90 | } |
| 91 | |
| 92 | const previewStatus = async ( |
| 93 | value: string, |
no test coverage detected