Skip to content

Commit 90cd97e

Browse files
ensure right protocol is used for http reachablity check (#1951)
1 parent dd3821e commit 90cd97e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/modules/Stream/Auth/ConnectForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export default function ConnectForm(props: ConnectFormProps): JSX.Element {
175175

176176
async function reachabilityCheck(url: string) {
177177
setReachablityState('loading')
178-
const res = await httpReachabilityCheck(`http://${stripScheme(url)}`)
178+
const res = await httpReachabilityCheck(`//${stripScheme(url)}`)
179179

180180
// Being reachable by http is not a requirement (you could have some really odd network setup)
181181
// But if it doesn't work though, it is likely the connection will time out which can take a while

0 commit comments

Comments
 (0)