diff --git a/src/pages/panel/sitekey/mod.rs b/src/pages/panel/sitekey/mod.rs index c4128e1e..73d890d5 100644 --- a/src/pages/panel/sitekey/mod.rs +++ b/src/pages/panel/sitekey/mod.rs @@ -31,7 +31,7 @@ pub mod routes { Sitekey { list: "/sitekey/list", add: "/sitekey/add", - view: "/sitekey/view/{key}", + view: "/sitekey/{key}/view", } } } diff --git a/templates/views/v1/routes.ts b/templates/views/v1/routes.ts index 93bb432f..fce5d39d 100644 --- a/templates/views/v1/routes.ts +++ b/templates/views/v1/routes.ts @@ -21,7 +21,7 @@ const ROUTES = { signoutUser: '/api/v1/signout', panelHome: '/', docsHome: '/docs/', - listSitekey: (key: string) => `/sitekey/view/${key}`, + listSitekey: (key: string) => `/sitekey/${key}/view`, addSiteKey: '/sitekey/add', };