feat: add prefix zot to /auth urls (#389)
See: https://github.com/project-zot/zot/issues/1883 Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
parent
19e366ee1f
commit
fad5572db4
@ -79,8 +79,8 @@ const api = {
|
|||||||
const endpoints = {
|
const endpoints = {
|
||||||
status: `/v2/`,
|
status: `/v2/`,
|
||||||
authConfig: `/v2/_zot/ext/mgmt`,
|
authConfig: `/v2/_zot/ext/mgmt`,
|
||||||
openidAuth: `/auth/login`,
|
openidAuth: `/zot/auth/login`,
|
||||||
logout: `/auth/logout`,
|
logout: `/zot/auth/logout`,
|
||||||
repoList: ({ pageNumber = 1, pageSize = 15 } = {}) =>
|
repoList: ({ pageNumber = 1, pageSize = 15 } = {}) =>
|
||||||
`/v2/_zot/ext/search?query={RepoListWithNewestImage(requestedPage: {limit:${pageSize} offset:${
|
`/v2/_zot/ext/search?query={RepoListWithNewestImage(requestedPage: {limit:${pageSize} offset:${
|
||||||
(pageNumber - 1) * pageSize
|
(pageNumber - 1) * pageSize
|
||||||
|
Loading…
Reference in New Issue
Block a user