From 18666eb874b96bd3fd8f6317e485498f302c72c2 Mon Sep 17 00:00:00 2001 From: Thomas Decaux Date: Tue, 7 Oct 2025 20:41:05 +0200 Subject: [PATCH] feat: env var to define control manifest url --- src/spec-configuration/controlManifest.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/spec-configuration/controlManifest.ts b/src/spec-configuration/controlManifest.ts index a75688e6d..0799e2b92 100644 --- a/src/spec-configuration/controlManifest.ts +++ b/src/spec-configuration/controlManifest.ts @@ -82,9 +82,10 @@ async function updateControlManifest(controlManifestPath: string, oldManifest: D } async function fetchControlManifest(output: Log) { + const controlManifestURL = process.env.DEVCONTAINERS_CONTROL_MANIFEST_URL ?? 'https://containers.dev/static/devcontainer-control-manifest.json'; return request({ type: 'GET', - url: 'https://containers.dev/static/devcontainer-control-manifest.json', + url: controlManifestURL, headers: { 'user-agent': 'devcontainers-vscode', 'accept': 'application/json',