Add configurable authorization header to marketplace API calls (#7596)

This commit is contained in:
Vladimir Mladenovic
2025-12-12 02:02:42 +01:00
committed by GitHub
parent ea9a3a5ab2
commit 0de7cf5679
2 changed files with 23 additions and 0 deletions

View File

@@ -101,6 +101,14 @@ Index: code-server/lib/vscode/src/vs/base/common/product.ts
readonly version: string;
readonly date?: string;
@@ -112,6 +113,7 @@ export interface IProductConfiguration {
readonly resourceUrlTemplate: string;
readonly nlsBaseUrl: string;
readonly accessSKUs?: string[];
+ readonly authorizationHeaderToken?: string;
};
readonly mcpGallery?: {
Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
===================================================================
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts