Skip to content

Commit

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

Signed-off-by: Andrei Aaron <[email protected]>
  • Loading branch information
andaaron authored Oct 20, 2023
1 parent 19e366e commit fad5572
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 fad5572

Please sign in to comment.