From fad5572db4f2adb91ccedcccf76dfc139c9b2e4d Mon Sep 17 00:00:00 2001 From: Andrei Aaron Date: Fri, 20 Oct 2023 13:17:24 +0300 Subject: [PATCH] feat: add prefix zot to /auth urls (#389) See: https://github.com/project-zot/zot/issues/1883 Signed-off-by: Andrei Aaron --- src/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api.js b/src/api.js index c0e2e4cf..fe4ead48 100644 --- a/src/api.js +++ b/src/api.js @@ -79,8 +79,8 @@ const api = { const endpoints = { status: `/v2/`, authConfig: `/v2/_zot/ext/mgmt`, - openidAuth: `/auth/login`, - logout: `/auth/logout`, + openidAuth: `/zot/auth/login`, + logout: `/zot/auth/logout`, repoList: ({ pageNumber = 1, pageSize = 15 } = {}) => `/v2/_zot/ext/search?query={RepoListWithNewestImage(requestedPage: {limit:${pageSize} offset:${ (pageNumber - 1) * pageSize