forked from lda/telodendria
Move Admin routes to /_telodendria/admin/v1 (with version number)
Closes #16.
This commit is contained in:
parent
bf1ce839d0
commit
7d3d84d969
1 changed files with 5 additions and 5 deletions
10
src/Routes.c
10
src/Routes.c
|
@ -82,11 +82,11 @@ RouterBuild(void)
|
|||
|
||||
/* Telodendria Admin API Routes */
|
||||
|
||||
R("/_telodendria/admin/(restart|shutdown|stats)", RouteProcControl);
|
||||
R("/_telodendria/admin/config", RouteConfig);
|
||||
R("/_telodendria/admin/privileges", RoutePrivileges);
|
||||
R("/_telodendria/admin/privileges/(.*)", RoutePrivileges);
|
||||
R("/_telodendria/admin/deactivate/(.*)", RouteAdminDeactivate);
|
||||
R("/_telodendria/admin/v1/(restart|shutdown|stats)", RouteProcControl);
|
||||
R("/_telodendria/admin/v1/config", RouteConfig);
|
||||
R("/_telodendria/admin/v1/privileges", RoutePrivileges);
|
||||
R("/_telodendria/admin/v1/privileges/(.*)", RoutePrivileges);
|
||||
R("/_telodendria/admin/v1/deactivate/(.*)", RouteAdminDeactivate);
|
||||
|
||||
#undef R
|
||||
|
||||
|
|
Loading…
Reference in a new issue