@lvce-editor/extension-host-worker 5.37.0 → 5.38.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.
|
@@ -2964,6 +2964,9 @@ const isFileProtocol = protocol => {
|
|
|
2964
2964
|
};
|
|
2965
2965
|
const getRemoteUrlSync = uri => {
|
|
2966
2966
|
const protocol = getProtocol(uri);
|
|
2967
|
+
if (protocol === 'http://' || protocol === 'https://') {
|
|
2968
|
+
return uri;
|
|
2969
|
+
}
|
|
2967
2970
|
const withoutPrefix = uri.startsWith('file://') ? uri.slice('file://'.length) : uri;
|
|
2968
2971
|
if (platform === Remote && isFileProtocol(protocol)) {
|
|
2969
2972
|
if (uri.startsWith('/')) {
|
|
@@ -3170,7 +3173,7 @@ const getEnabledProviderIds = async (scheme, root) => {
|
|
|
3170
3173
|
};
|
|
3171
3174
|
const getIconDefinitions = async providerId => {
|
|
3172
3175
|
const extensions = await getExtensions();
|
|
3173
|
-
const allExtensions = [...extensions, state$9.webExtensions];
|
|
3176
|
+
const allExtensions = [...extensions, ...state$9.webExtensions];
|
|
3174
3177
|
for (const extension of allExtensions) {
|
|
3175
3178
|
const id = extension.id.split('.');
|
|
3176
3179
|
const shortId = id[1];
|