Skip to content

Commit

Permalink
feat: Add script integrity (#140)
Browse files Browse the repository at this point in the history
* feat: Add script integrity

Signed-off-by: unknowIfGuestInDream <liang.tang.cx@gmail.com>

* feat: Add script integrity

Signed-off-by: unknowIfGuestInDream <liang.tang.cx@gmail.com>

---------

Signed-off-by: unknowIfGuestInDream <liang.tang.cx@gmail.com>
  • Loading branch information
unknowIfGuestInDream authored Dec 21, 2024
1 parent 2d17b5f commit 97cf1ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -427,12 +427,13 @@
<!-- 广告支持 -->
<script src="lib/docsify-terminal-block.js" defer></script>
<!-- 身份校验 -->
<!-- https://www.srihash.org/ 计算hash -->
<script src="lib/sha256.min.js"
integrity="sha384-yqYCrGWkdxRVHQmKhV4T2RiZi0GKVz6EJU2QxKQXYdHgqakvg4IB8azrIxXxgV1"
integrity="sha384-2epjwyVj8M4n8AweIsY7SKPSJmqBBBkmksXvkmtYORfxPS1I4NZE/+Ttk/9gCELG"
crossorigin="anonymous"
defer></script>
<script src="lib/docsify-auth.min.js"
integrity="sha384-D1qTVwXTw1jE3OGCwF8XxEhsP9rHvH9LYOp/8bSYPXxBxKha5T5UkU9ZZc0oFQd"
integrity="sha384-VxSdpbuwi03/DNTiHPrEaYACn+IyuRG4dxa1JRJ9sGM5UCWDMq8MOz7Ili5nkMgN"
crossorigin="anonymous"
defer></script>
<!-- drawio支持 -->
Expand Down

0 comments on commit 97cf1ef

Please sign in to comment.