We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb515c4 commit e72bc89Copy full SHA for e72bc89
packages/browser/src/sdk.ts
@@ -99,7 +99,8 @@ export function init(options: BrowserOptions = {}): Client | undefined {
99
if (!defaultIntegrations) {
100
defaultIntegrations = [];
101
}
102
- defaultIntegrations.push(spotlightBrowserIntegration());
+ const args = typeof options.spotlight === 'string' ? { sidecarUrl: options.spotlight } : undefined;
103
+ defaultIntegrations.push(spotlightBrowserIntegration(args));
104
105
/* rollup-include-development-only-end */
106
0 commit comments