Skip to content

Commit 9454609

Browse files
authored
Merge pull request #114 from marclave/marc/add-crossorigin-for-scalar
fix: add crossorigin to scalar script tag
2 parents 9d697b2 + 878c604 commit 9454609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scalar/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ export const ScalarRender = (
3333
cdn
3434
? cdn
3535
: `https://cdn.jsdelivr.net/npm/@scalar/api-reference@${version}/dist/browser/standalone.min.js`
36-
}"></script>
36+
}" crossorigin></script>
3737
</body>
3838
</html>`

0 commit comments

Comments
 (0)