Closed ekanth closed 2 years ago
@ekanth Thanks for submitting a PR! We'll have someone review your PR in the next few days.
Thank you @kevinpagtakhan for approving this. Would you or someone with write access to the repo help merge it as well?
@kevinpagtakhan, when would a new release be published to npm with this change? I see the @amplitude-sdk-bot setting up to release 1.9.3 last Friday, but don't see any updates yet at @amplitude/node.
We use Github action to do the release, however, I saw the publish to npm section failed for some reason. Will check it soon and let you know when it's published to npm.
Thank you @yuhao900914!
Summary
Allow using a custom port in the URI. The code changes add support for extracting the port from the URI and setting it if one is given.
Our use-case: we proxy requests to Amplitude through our own endpoint. So in dev environment, it is helpful to be able to override the port in the URI.
Checklist