pull/29/head
Matthew 2020-12-26 07:13:23 -05:00
parent cd29406af7
commit 97859b4044
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 1 deletions

View File

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