mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-11-03 10:22:58 +00:00
16 lines
673 B
Diff
16 lines
673 B
Diff
diff --git a/dist/client/route-loader.js b/dist/client/route-loader.js
|
|
index 888fc23e628cd87fbbf60742aeaaea37b9703f6e..e541dc188c9a8408d11c49f515fde0bfb50d66f7 100644
|
|
--- a/dist/client/route-loader.js
|
|
+++ b/dist/client/route-loader.js
|
|
@@ -124,6 +124,10 @@ function appendScript(src, script) {
|
|
// 3. Finally, set the source and inject into the DOM in case the child
|
|
// must be appended for fetching to start.
|
|
script.src = src;
|
|
+ const hashManifest = window.__CHUNK_SRI_MANIFEST || {};
|
|
+ if (hashManifest[src]) {
|
|
+ script.integrity = hashManifest[src];
|
|
+ }
|
|
document.body.appendChild(script);
|
|
});
|
|
}
|