Skip to content

Commit e72bc89

Browse files
committed
PR review
1 parent eb515c4 commit e72bc89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/browser/src/sdk.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ export function init(options: BrowserOptions = {}): Client | undefined {
9999
if (!defaultIntegrations) {
100100
defaultIntegrations = [];
101101
}
102-
defaultIntegrations.push(spotlightBrowserIntegration());
102+
const args = typeof options.spotlight === 'string' ? { sidecarUrl: options.spotlight } : undefined;
103+
defaultIntegrations.push(spotlightBrowserIntegration(args));
103104
}
104105
/* rollup-include-development-only-end */
105106

0 commit comments

Comments
 (0)