fix(core): update

This commit is contained in:
2023-04-19 18:57:12 +02:00
parent 4093d091f4
commit b686202ae5
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -42,6 +42,9 @@ export class SmartWhois {
* can be used to prepare an input for the whois command
*/
public async getParsedUrlResultForWhois(urlArg: string) {
if (!urlArg.includes('//')) {
urlArg = `https://${urlArg}`;
}
const smarturlInstance = plugins.smarturl.Smarturl.createFromUrl(urlArg);
const tldtsData = plugins.tldts.parse(urlArg);
return {