diff --git a/src/commands/tls.ts b/src/commands/tls.ts index 662f985..0b3aae3 100644 --- a/src/commands/tls.ts +++ b/src/commands/tls.ts @@ -90,7 +90,7 @@ export default class TLS extends Command { } catch { const att = site('link').toArray().filter((a) => a.attribs.rel === 'icon'); if (att?.length > 0) { - if (att[0].attribs.href.startsWith('/')) { + if (att[0].attribs.href.startsWith('/') || !att[0].attribs.href.startsWith('http')) { iconURI = `https://${args[0]}${att[0].attribs.href}`; } else { iconURI = att[0].attribs.href;