From 97859b404438eed0209e3819e1fb986ea601bc90 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 26 Dec 2020 07:13:23 -0500 Subject: [PATCH] fix --- src/commands/site.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/site.ts b/src/commands/site.ts index 620aeed..8f66c82 100644 --- a/src/commands/site.ts +++ b/src/commands/site.ts @@ -194,12 +194,13 @@ export default class SiteInfo extends Command { public async getServerInformation(domain: string) { let r: AxiosResponse; try { - r = await axios.get(domain, { + r = await axios.get(`https://${domain}`, { httpsAgent: new https.Agent({ rejectUnauthorized: false, }), }); } catch (err) { + this.client.util.signale.error(err); return null; }