Closed marclar closed 4 years ago
Nice job! I was going to create a PR with the same feature, I'm glad I look through the open issues and PRs first.
It may be good idea to add links to segment doc about this in the README:
Thanks, @JoaquinScript - made that change and restored what I thought was unused code. I saw in #18 that there was some reasoning behind having it.
Is this going to be merged / updated? Looking for similar functionality.
In order to support custom hosts (see https://segment.com/docs/sources/website/analytics.js/#proxy), this PR adds a
host
parameter that defaults tohttps://cdn.segment.io