@lvce-editor/extension-management-worker 4.4.0 → 4.5.0
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.
|
@@ -2637,6 +2637,9 @@ const installExtension = async () => {
|
|
|
2637
2637
|
};
|
|
2638
2638
|
|
|
2639
2639
|
const getRemoteUrl = uri => {
|
|
2640
|
+
if (uri.startsWith('http://') || uri.startsWith('https://')) {
|
|
2641
|
+
return uri;
|
|
2642
|
+
}
|
|
2640
2643
|
if (uri.startsWith('/')) {
|
|
2641
2644
|
return `/remote${uri}`;
|
|
2642
2645
|
}
|