From ac2bf56ebc58e93523e911f18f3e33a5d39b1afb Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Thu, 4 Jun 2020 07:15:56 -0400 Subject: [PATCH] Explain $SERVICE_URL and $ITEM_URL in more detail Closes #1762 --- doc/FAQ.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/FAQ.md b/doc/FAQ.md index 154aef3b..3632c943 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -78,8 +78,15 @@ point to the .vsix file. See below for installing an extension from the cli. -If you have your own custom marketplace, it is possible to point code-server to it by setting -`$SERVICE_URL` and `$ITEM_URL` to point to it. +## How do I configure the marketplace URL? + +If you have your own marketplace that implements the VS Code Extension Gallery API, it is possible to +point code-server to it by setting `$SERVICE_URL` and `$ITEM_URL`. These correspond directly +to `serviceUrl` and `itemUrl` in VS Code's `product.json`. + +While you can technically use Microsoft's marketplace with these, please do not do so as it +is against their terms of use. These variables are most valuable to our enterprise customers +for whom we have a self hosted enterprise marketplace product. ## Where are extensions stored? -- GitLab