Skip to content

Commit

Permalink
fix(spa): sentry replay worker not able to initialize due to missing …
Browse files Browse the repository at this point in the history
…trusted type config
  • Loading branch information
timonmasberg committed Mar 12, 2024
1 parent 3083427 commit d0ec04c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/spa/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ registerLocaleData(de);
},
);
},
createScriptURL: (string) => {
if (string.startsWith('blob:' + window.location.origin)) {
return string;
}
return '';
},
});
},
multi: true,
Expand Down

0 comments on commit d0ec04c

Please sign in to comment.