TrueCar / react-launch-darkly

Simple component helpers to support LaunchDarkly in your React app.
MIT License
76 stars 20 forks source link

How to set the base Url for launchdarkly? #35

Closed sikka closed 7 years ago

sikka commented 7 years ago

We have our own instance at our company. I have to set the url to "https://app.abc.launchdarkly.com". How do I do that?

jacobmoretti commented 7 years ago

I wasn't even aware this feature was supported by the js ldclient. It's undocumented on their end but digging through their source, it seems they accept options to define baseUrl: https://github.com/launchdarkly/js-client/blob/master/src/index.js#L241

Currently this isn't supported, but you're welcome to submit a PR. I can point you in the general direction for this:

I'll create a separate issue to track this as a feature request.

jacobmoretti commented 7 years ago

Closed See https://github.com/TrueCar/react-launch-darkly/issues/41