Skip to content

Commit

Permalink
Merge pull request #216 from danielgtaylor/revert-stoplight-sha
Browse files Browse the repository at this point in the history
fix: add crossorigin config for sha integrity check
  • Loading branch information
danielgtaylor authored Jan 23, 2024
2 parents 02fcf4e + d915451 commit ecdf5a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@ func NewAPI(config Config, a Adapter) API {
<!-- Embed elements Elements via Web Component -->
<link href="https://unpkg.com/@stoplight/elements@8.0.0/styles.min.css" rel="stylesheet" />
<script src="https://unpkg.com/@stoplight/elements@8.0.0/web-components.min.js"
integrity="sha256-yIhuSFMJJ6mp2XTUAb4SiSYneP3Qav8Uu+7NBhGJW5A="></script>
integrity="sha256-yIhuSFMJJ6mp2XTUAb4SiSYneP3Qav8Uu+7NBhGJW5A="
crossorigin="anonymous"></script>
</head>
<body>
Expand Down

0 comments on commit ecdf5a4

Please sign in to comment.