diff options
Diffstat (limited to 'src/shared/urls.ts')
-rw-r--r-- | src/shared/urls.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/urls.ts b/src/shared/urls.ts index 8fa9a49..9c76b97 100644 --- a/src/shared/urls.ts +++ b/src/shared/urls.ts @@ -23,7 +23,7 @@ const isMissingHttp = (keywords: string): boolean => { try { let u = new URL('http://' + keywords); - return isLocalhost(u.host) + return isLocalhost(u.host); } catch (e) { // fallthrough } |