diff --git a/src/shared/urls.ts b/src/shared/urls.ts index 64ea4f2..b256b20 100644 --- a/src/shared/urls.ts +++ b/src/shared/urls.ts @@ -5,7 +5,7 @@ const trimStart = (str: string): string => { return str.replace(/^\s+/, ''); }; -const SUPPORTED_PROTOCOLS = ['http:', 'https:', 'ftp:', 'mailto:', 'about:']; +const SUPPORTED_PROTOCOLS = ['http:', 'https:', 'ftp:', 'mailto:', 'about:', 'localhost:']; const searchUrl = (keywords: string, search: Search): string => { try {