fixed view urls

This commit is contained in:
realaravinth 2021-05-28 20:54:46 +05:30
parent 50234435ec
commit 282b285afa
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88
2 changed files with 2 additions and 2 deletions

View file

@ -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",
} }
} }
} }

View file

@ -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',
}; };