Skip to content

Commit

Permalink
add support for IPv6 and EU servers
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdeely authored and nithincvpoyyil committed Mar 12, 2021
1 parent 7f17730 commit 6abed86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ const MIXPANEL_PROPERTIES = [

// API changes based on the PR from @aonic - https://github.com/nithincvpoyyil/mixpanel-tools/pull/3

const MIXPANEL_API_PATTERN = /\/\/(api|api\-js)\.mixpanel\.com\/(track|engage)/i;
const MIXPANEL_API_PATTERN = /\/\/(ipv6-)?(api)(-js)?(-eu)?\.mixpanel\.com\/(track|engage)/i;

0 comments on commit 6abed86

Please sign in to comment.