From f11d9dfc9f81b67fe455a772f9e904b6af5670a0 Mon Sep 17 00:00:00 2001 From: Oleksandr Andriienko Date: Wed, 25 Nov 2020 15:52:19 +0200 Subject: [PATCH] Use internal network url for plugin registry. Signed-off-by: Oleksandr Andriienko --- .../src/node/che-plugin-service.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extensions/eclipse-che-theia-plugin-ext/src/node/che-plugin-service.ts b/extensions/eclipse-che-theia-plugin-ext/src/node/che-plugin-service.ts index 6074f854b..94de9ea92 100644 --- a/extensions/eclipse-che-theia-plugin-ext/src/node/che-plugin-service.ts +++ b/extensions/eclipse-che-theia-plugin-ext/src/node/che-plugin-service.ts @@ -81,8 +81,9 @@ export class ChePluginServiceImpl implements ChePluginService { try { const workspaceSettings: WorkspaceSettings = await this.workspaceService.getWorkspaceSettings(); - if (workspaceSettings && workspaceSettings['cheWorkspacePluginRegistryUrl']) { - let uri = workspaceSettings['cheWorkspacePluginRegistryUrl']; + if (workspaceSettings && workspaceSettings['cheWorkspacePluginRegistryInternalUrl']) { + let uri = workspaceSettings['cheWorkspacePluginRegistryInternalUrl']; + console.log('[INFO] Plugin registry url is: ' + uri); if (!uri.endsWith('/plugins/')) { if (uri.endsWith('/')) {