segmentio / segmentio/analytics.js-integrations
[segmentio] Make protocol configurable
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 125
- Forks
- 136
- Avg merge
- 2h 45m
- Merged PRs (30d)
- 1
Description
We use our backend as a proxy to Segment API in order to bypass ad-blockers. It works fine except for one thing. We are unable to test it in local dev environment on our machines where HTTP is used instead of HTTPS.
It looks like HTTPS protocol is hardcoded here. Can you create a new Segment.io integration settings property which specifies protocol and defaults to https?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at integrations/segmentio/lib/index.js around line 374, where the HTTPS protocol is hardcoded. Trace the Segment.io integration settings, add the requested protocol option with its default, and verify that HTTP can be selected for local development while HTTPS remains the default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100