Skip to content

Commit

Permalink
fix: COEP error
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Mar 25, 2024
1 parent fee3cbe commit 134963b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ export default defineNuxtPlugin((nuxtApp) => {
key: 'prismic-preview',
src: `https://static.cdn.prismic.io/prismic.min.js?repo=${repositoryName}&new=true`,
async: true,
defer: true
defer: true,
crossorigin: 'anonymous'
}]
})
} else {
Expand Down

0 comments on commit 134963b

Please sign in to comment.