diff --git a/src/utils/importScript.ts b/src/utils/importScript.ts index e21e19b3..d62fd032 100644 --- a/src/utils/importScript.ts +++ b/src/utils/importScript.ts @@ -2,6 +2,7 @@ export function importScript(url: string, name: string) { return new Promise((resolve, reject) => { const script = document.createElement('script'); script.async = true; + script.crossOrigin = 'anonymous'; const destroy = () => { if (script.parentNode) {