Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Use internal network url for plugin registry. #865

Merged
merged 1 commit into from
Nov 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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('/')) {
Expand Down