mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
split sitekey add and edit routes into easy and advance variants
This commit is contained in:
@@ -27,9 +27,11 @@ const ROUTES = {
|
||||
notifications: "/notifications",
|
||||
listSitekey: "/sitekeys/",
|
||||
viewSitekey: (key: string): string => `/sitekey/${key}/`,
|
||||
editSitekey: (key: string): string => `/sitekey/${key}/edit/`,
|
||||
editSitekeyAdvance: (key: string): string => `/sitekey/${key}/advance/edit/`,
|
||||
addSiteKeyAdvance: "/sitekeys/advance/add",
|
||||
addSiteKeyEasy: "/sitekeys/easy/add",
|
||||
editSitekeyEasy: (key: string): string => `/sitekey/${key}/easy/edit/`,
|
||||
deleteSitekey: (key: string): string => `/sitekey/${key}/delete/`,
|
||||
addSiteKey: "/sitekeys/add",
|
||||
};
|
||||
|
||||
export default ROUTES;
|
||||
|
||||
Reference in New Issue
Block a user