mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-27 11:59:56 +03:00
fixed view urls
This commit is contained in:
parent
50234435ec
commit
282b285afa
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ pub mod routes {
|
||||||
Sitekey {
|
Sitekey {
|
||||||
list: "/sitekey/list",
|
list: "/sitekey/list",
|
||||||
add: "/sitekey/add",
|
add: "/sitekey/add",
|
||||||
view: "/sitekey/view/{key}",
|
view: "/sitekey/{key}/view",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ const ROUTES = {
|
||||||
signoutUser: '/api/v1/signout',
|
signoutUser: '/api/v1/signout',
|
||||||
panelHome: '/',
|
panelHome: '/',
|
||||||
docsHome: '/docs/',
|
docsHome: '/docs/',
|
||||||
listSitekey: (key: string) => `/sitekey/view/${key}`,
|
listSitekey: (key: string) => `/sitekey/${key}/view`,
|
||||||
addSiteKey: '/sitekey/add',
|
addSiteKey: '/sitekey/add',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue