Add revision api
This commit is contained in:
2
app.js
2
app.js
@@ -457,6 +457,8 @@ app.get("/p/:shortid", response.showPublishSlide);
|
||||
app.get("/:noteId", response.showNote);
|
||||
//note actions
|
||||
app.get("/:noteId/:action", response.noteActions);
|
||||
//note actions with action id
|
||||
app.get("/:noteId/:action/:actionId", response.noteActions);
|
||||
// response not found if no any route matches
|
||||
app.get('*', function (req, res) {
|
||||
response.errorNotFound(res);
|
||||
|
||||
Reference in New Issue
Block a user