Skip to content

Commit

Permalink
fix: pass origin as referrer
Browse files Browse the repository at this point in the history
  • Loading branch information
jaulz authored Jul 4, 2024
1 parent e0adb41 commit 361139d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/browser/src/utils/lazyLoadIntegration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export async function lazyLoadIntegration(name: keyof typeof LazyLoadableIntegra
const script = WINDOW.document.createElement('script');
script.src = url;
script.crossOrigin = 'anonymous';
script.referrerPolicy = 'origin';

const waitForLoad = new Promise<void>((resolve, reject) => {
script.addEventListener('load', () => resolve());
Expand Down

0 comments on commit 361139d

Please sign in to comment.