Files
safe-wallet/.yarn/patches/next-npm-15.5.21-4cacf356e0.patch

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);
});
}