@lvce-editor/extension-host-worker 1.4.1 → 1.4.2

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.
@@ -2412,7 +2412,10 @@ const getUrlPrefix = extensionPath => {
2412
2412
  if (platform === Web) {
2413
2413
  return extensionPath;
2414
2414
  }
2415
- return `/remote${extensionPath}`;
2415
+ if (extensionPath.startsWith('/')) {
2416
+ return `/remote${extensionPath}`;
2417
+ }
2418
+ return `/remote/${extensionPath}`;
2416
2419
  };
2417
2420
 
2418
2421
  const handleRpcInfos = extension => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-host-worker",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Webworker for the extension host functionality in Lvce Editor.",
5
5
  "main": "dist/extensionHostWorkerMain.js",
6
6
  "type": "module",