Use integrity for scripts hosted on the CDN (#7335)

* Use integrity for scripts hosted on the CDN

* 2.0.0-rc.50
This commit is contained in:
MeiMei 2021-03-13 10:54:02 +09:00 committed by GitHub
parent 1581511c2d
commit e52e56dd5a

View file

@ -19,6 +19,6 @@
</head> </head>
<body> <body>
<redoc spec-url="/api.json" expand-responses="200" expand-single-schema-field="true"></redoc> <redoc spec-url="/api.json" expand-responses="200" expand-single-schema-field="true"></redoc>
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script> <script src="https://cdn.jsdelivr.net/npm/redoc@2.0.0-rc.50/bundles/redoc.standalone.js" integrity="sha256-WJbngBWN9vp6vkEuzeoSj5tE5saW9Hfj6/SinkzhL2s=" crossorigin="anonymous"></script>
</body> </body>
</html> </html>