From e5b68a8f4c88f4192165c0f7238e82695759022b Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 19 Feb 2020 14:36:42 -0600 Subject: [PATCH] Switch to new extensions API --- ci/vscode.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/vscode.patch b/ci/vscode.patch index 8590fae5..4d9e2c32 100644 --- a/ci/vscode.patch +++ b/ci/vscode.patch @@ -1815,7 +1815,7 @@ index 0000000000..2a39c524aa +export const logger = baseLogger.named('vscode'); diff --git a/src/vs/server/node/marketplace.ts b/src/vs/server/node/marketplace.ts new file mode 100644 -index 0000000000..9960ccfd07 +index 0000000000..8956fc40d4 --- /dev/null +++ b/src/vs/server/node/marketplace.ts @@ -0,0 +1,174 @@ @@ -1981,7 +1981,7 @@ index 0000000000..9960ccfd07 + */ +export const enableCustomMarketplace = (): void => { + (product).extensionsGallery = { // Use `any` to override readonly. -+ serviceUrl: process.env.SERVICE_URL || 'https://v1.extapi.coder.com', ++ serviceUrl: process.env.SERVICE_URL || 'https://extensions.coder.com/api', + itemUrl: process.env.ITEM_URL || '', + controlUrl: '', + recommendationsUrl: '',