Skip to content

Commit

Permalink
fix(route): Microsoft Artifact Registry route (#18081)
Browse files Browse the repository at this point in the history
  • Loading branch information
margani authored Jan 9, 2025
1 parent f7f73e8 commit 6165caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/routes/microsoft/mcr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6165caf

Please sign in to comment.