Skip to content

Commit

Permalink
Fix domain regex
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterPhilip committed Jan 2, 2025
1 parent eaca882 commit 35c0bd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/AdobeAudienceManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class AdobeAudienceManagerProvider extends BaseProvider
handleCustom(url, params)
{
let results = [],
accountID = url.hostname.replace(/^(dpm)?.demdex.net/i, ""),
accountID = url.hostname.replace(/^(dpm)?\.demdex.net/i, ""),
requestType = url.pathname.match(/^\/([^?/#:]+)/);
results.push({
"key": "omnibug_account",
Expand All @@ -265,4 +265,4 @@ class AdobeAudienceManagerProvider extends BaseProvider
});
return results;
}
}
}

0 comments on commit 35c0bd3

Please sign in to comment.