mirror of
https://github.com/zoriya/elysia-swagger.git
synced 2026-06-01 13:25:08 +00:00
Merge pull request #114 from marclave/marc/add-crossorigin-for-scalar
fix: add crossorigin to scalar script tag
This commit is contained in:
+1
-1
@@ -33,6 +33,6 @@ export const ScalarRender = (
|
||||
cdn
|
||||
? cdn
|
||||
: `https://cdn.jsdelivr.net/npm/@scalar/api-reference@${version}/dist/browser/standalone.min.js`
|
||||
}"></script>
|
||||
}" crossorigin></script>
|
||||
</body>
|
||||
</html>`
|
||||
|
||||
Reference in New Issue
Block a user