Skip to content

Commit

Permalink
chore: Use integrity for Redoc script (misskey-dev#13716)
Browse files Browse the repository at this point in the history
* Use integrity for redoc scripts

* official?
  • Loading branch information
mei23 authored Apr 15, 2024
1 parent bba3097 commit b4faa7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/assets/redoc.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
</head>
<body>
<redoc spec-url="/api.json" expand-responses="200" expand-single-schema-field="true"></redoc>
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"></script>
<script src="https://cdn.redoc.ly/redoc/v2.1.3/bundles/redoc.standalone.js" integrity="sha256-u4DgqzYXoArvNF/Ymw3puKexfOC6lYfw0sfmeliBJ1I=" crossorigin="anonymous"></script>
</body>
</html>

0 comments on commit b4faa7c

Please sign in to comment.