@launchdarkly/toolbar 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/cdn/toolbar.min.js +42 -42
- package/dist/angular.cjs +1 -1
- package/dist/core/ui/Toolbar/components/IFrameErrorScreen/IFrameErrorScreen.css.d.ts +7 -0
- package/dist/core/ui/Toolbar/components/IFrameErrorScreen/IFrameErrorScreen.d.ts +5 -0
- package/dist/core/ui/Toolbar/components/IFrameErrorScreen/index.d.ts +1 -0
- package/dist/core/ui/Toolbar/context/api/AuthProvider.d.ts +1 -0
- package/dist/core/ui/Toolbar/context/api/IFrameProvider.d.ts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/js/816.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/vue.cjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -259,6 +259,15 @@ declare global {
|
|
|
259
259
|
}
|
|
260
260
|
```
|
|
261
261
|
|
|
262
|
+
## Usage in a Hosted Environment
|
|
263
|
+
|
|
264
|
+
By default, the LaunchDarkly Developer Toolbar is configured to only allow hosting on apps running on localhost. However, if you want to run the toolbar in a hosted environment,
|
|
265
|
+
you can whitelist additional domains to circumvent this limitation. To do so, navigate to the Integrations page of your LaunchDarkly organization settings [here](https://app.launchdarkly.com/settings/integrations).
|
|
266
|
+
Search for the LaunchDarkly Developer Toolbar integration, and click `Add` to configure. When configuring, enter any of the domains you would like to whitelist,
|
|
267
|
+
and click `Save` to save the integration settings. This list can be updated at any time to add additional domains or remove whitelisted domains.
|
|
268
|
+
|
|
269
|
+
Note: After configuring, it may take up to 5 minutes for changes to reflect in the Developer Toolbar, as it caches the list of valid domains.
|
|
270
|
+
|
|
262
271
|
## Framework Support
|
|
263
272
|
|
|
264
273
|
The toolbar provides first-class support for popular frameworks:
|