Skip to content

Commit

Permalink
Tag script blocks with nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-adam committed Nov 7, 2023
1 parent 83b83e3 commit b79079f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion panoramapublic/resources/views/peptideSearchResults.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id="search-indicator"></div>
<script type="text/javascript" nonce="<%=getScriptNonce()%>">
<script type="text/javascript" nonce="<%=scriptNonce%>">

let webpart = <%=webpartContext%>;
const queryString = window.location.search;
Expand Down
2 changes: 1 addition & 1 deletion panoramapublic/resources/views/proteinSearchResults.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id="search-indicator"></div>
<script type="text/javascript" nonce="<%=getScriptNonce()%>">
<script type="text/javascript" nonce="<%=scriptNonce%>">

let webpart = <%=webpartContext%>;
const queryString = window.location.search;
Expand Down

0 comments on commit b79079f

Please sign in to comment.