@lvce-editor/extension-management-worker 4.87.0 → 4.87.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2213,7 +2213,7 @@ const parseDirective = directive => {
|
|
|
2213
2213
|
const getWorkerUrls = absolutePath => {
|
|
2214
2214
|
const applicationUrl = new URL(getOrigin());
|
|
2215
2215
|
const workerUrl = new URL(absolutePath, applicationUrl);
|
|
2216
|
-
if (workerUrl.protocol === 'lvce:') {
|
|
2216
|
+
if (workerUrl.protocol === 'lvce:' || workerUrl.protocol === 'lvce-oss:') {
|
|
2217
2217
|
return {
|
|
2218
2218
|
assetSource: new URL('./', workerUrl).href,
|
|
2219
2219
|
origin: applicationUrl.origin
|