diff --git a/src/lib/objects/external/lib.ts b/src/lib/objects/external/lib.ts index 1d37917c..545e1d13 100644 --- a/src/lib/objects/external/lib.ts +++ b/src/lib/objects/external/lib.ts @@ -53,6 +53,7 @@ export const getNPMObject = async ( if (!added['script-src']) { added['script-src'] = '' } + added['script-src'] += ` ${window.location.origin + script}` return { script, diff --git a/src/lib/objects/external/template.html b/src/lib/objects/external/template.html index 7a2bca15..a6215e6d 100644 --- a/src/lib/objects/external/template.html +++ b/src/lib/objects/external/template.html @@ -2,7 +2,7 @@ - +