Microsoft has acquired GitHub. Decentraleyes has left GitHub. Welcome to its new home!

To participate, please register, or sign in with an existing, Bitbucket, or GitHub account.

Past contributions on GitHub? Be sure to reclaim your Comments, Issues, and Pull Requests.

Commit b74c9ed8 authored by Gokulakrishna's avatar Gokulakrishna

Updated helpers.js for URL.hostname in place of

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;
Markdown is supported
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