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; }