Skip to content

Commit

Permalink
add integrity
Browse files Browse the repository at this point in the history
  • Loading branch information
iwate committed Jan 30, 2024
1 parent 895019e commit 4b19c11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/Layout/Default.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@
const suffix = document.querySelector('meta[name="resource-suffix"]').content;
const el = document.createElement('script');
el.src = "//" + location.host + prefix + 'bundle/script.js' + suffix;
el.integrity = "sha256-GWjht6rjxCHOV1CwzttW/yTv5MkoJvlFOnT4CAImEmk=";
document.body.appendChild(el);
}())
</script>
j.src=;
f.parentNode.insertBefore(j,f);})(document,'script');</script>
@RenderSection("ScriptBlock", false)
@RenderParts("BodyBottom")
</body>
Expand Down

0 comments on commit 4b19c11

Please sign in to comment.