Integrity value for preview.js
I use "Box Content Preview" in my app, but I do not find the integrity value for this js
Where can I find it?
-
Hi,
If I want to import jQuery in my app, I can do it as the following code
<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
You can see it has an attribute named integrity
But box preview.js does not support such value.
<script type="text/javascript" src="https://cdn01.boxcdn.net/platform/preview/2.81.0/en-US/preview.js" async="async"></script>
Could you give me some clues about it? -
for the HTML <script> integrity Attribute, you can get detail from https://www.w3schools.com/tags/att_script_integrity.asp
Could you give me some info to get the integrity attribute of preview.js?
投稿コメントは受け付けていません。
コメント
3件のコメント