TF-4343 Fix load Sentry from Sentry CDN (#4348)

This commit is contained in:
Dat Vu
2026-04-14 11:59:27 +07:00
committed by GitHub
parent eeaab49e93
commit 16376fccb4
4 changed files with 91 additions and 1 deletions
+4
View File
@@ -41,6 +41,10 @@
<script src="worker_service/worker_service.js"></script>
<script src="i18n/translater.js"></script>
<script src="https://unpkg.com/@dotlottie/player-component@2.7.12/dist/dotlottie-player.mjs" type="module"></script>
<!-- Load Sentry SDK first (self-hosted bundle), then interceptor to block any subsequent CDN injection.
Order matters: the interceptor must activate after the SDK is ready so it can patch document.createElement. -->
<script src="js/sentry-tracing.min.js?v=1.0.0" integrity="sha384-SFODEb3T2QkMjTr3S1it5zIK0cIW7jsComFUkmJ9nU9uaWs3AzA6cubt8xn0zW7A" crossorigin="anonymous"></script>
<script src="js/sentry-interceptor.js?v=1.0.0" integrity="sha384-uThyomTT1K0+gzqsKuq4UoZXu3SABtbtP7Y3NXFyvabuIQPGYszSO41UBrcs5czI" crossorigin="anonymous"></script>
</head>
<body>