Commit b74c9ed8 authored by Gokulakrishna's avatar Gokulakrishna
Browse files

Updated helpers.js for URL.hostname in place of URL.host

parent abda5a6d
......@@ -93,7 +93,7 @@ helpers.extractDomainFromUrl = function (url, normalize) {
let extractedDomain;
try {
extractedDomain = new URL(url).host;
extractedDomain = new URL(url).hostname;
} catch (exception) {
extractedDomain = null;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment