Skip to content

Commit

Permalink
feat: add prefix zot to /auth urls
Browse files Browse the repository at this point in the history
See: project-zot/zot#1883

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
  • Loading branch information
andaaron committed Oct 20, 2023
1 parent 19e366e commit 1a18960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a18960

Please sign in to comment.