|
|
|
@ -172,9 +172,7 @@ function register(app) {
|
|
|
|
|
|
|
|
|
|
|
|
apiRoute(GET, '/api/event-log', eventLogRoute.getEventLog);
|
|
|
|
apiRoute(GET, '/api/event-log', eventLogRoute.getEventLog);
|
|
|
|
|
|
|
|
|
|
|
|
// * at the end means this will match params containing slash as well
|
|
|
|
apiRoute(POST, '/api/recent-notes', recentNotesRoute.addRecentNote);
|
|
|
|
// this is a problem with nginx (and possibly other proxies) which translate escaped slash back to the literal slash character
|
|
|
|
|
|
|
|
apiRoute(PUT, '/api/recent-notes/:branchId/:notePath*', recentNotesRoute.addRecentNote);
|
|
|
|
|
|
|
|
apiRoute(GET, '/api/app-info', appInfoRoute.getAppInfo);
|
|
|
|
apiRoute(GET, '/api/app-info', appInfoRoute.getAppInfo);
|
|
|
|
|
|
|
|
|
|
|
|
route(GET, '/api/setup/status', [], setupApiRoute.getStatus, apiResultHandler);
|
|
|
|
route(GET, '/api/setup/status', [], setupApiRoute.getStatus, apiResultHandler);
|
|
|
|
|