From 6165caf498a57e231e6dd0c81c73d1eb885830b4 Mon Sep 17 00:00:00 2001 From: Hossein Margani Date: Thu, 9 Jan 2025 15:02:19 +0000 Subject: [PATCH] fix(route): Microsoft Artifact Registry route (#18081) --- lib/routes/microsoft/mcr.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/microsoft/mcr.ts b/lib/routes/microsoft/mcr.ts index 4d488a8c73d983..da124729163fe9 100644 --- a/lib/routes/microsoft/mcr.ts +++ b/lib/routes/microsoft/mcr.ts @@ -28,11 +28,11 @@ async function handler(ctx) { const product = ctx.req.path.replace('/microsoft/mcr/product/', ''); const { data: details } = await got({ method: 'get', - url: `https://mcr.microsoft.com/api/v1/catalog/${product}/details`, + url: `https://mcr.microsoft.com/api/v1/catalog/${product}/details?reg=mar`, }); const { data: tags } = await got({ method: 'get', - url: `https://mcr.microsoft.com/api/v1/catalog/${product}/tags`, + url: `https://mcr.microsoft.com/api/v1/catalog/${product}/tags?reg=mar`, }); return {