mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Marked as 0.2.8
This commit is contained in:
parent
2d36d7ce84
commit
4e64583a0b
96 changed files with 3281 additions and 22102 deletions
|
@ -17,16 +17,16 @@ var Note = require("./note.js");
|
|||
//public
|
||||
var response = {
|
||||
errorForbidden: function (res) {
|
||||
res.status(403).send("Forbidden, oh no.")
|
||||
res.status(403).send("Forbidden, oh no.");
|
||||
},
|
||||
errorNotFound: function (res) {
|
||||
responseError(res, "404", "Not Found", "oops.")
|
||||
responseError(res, "404", "Not Found", "oops.");
|
||||
},
|
||||
errorInternalError: function (res) {
|
||||
responseError(res, "500", "Internal Error", "wtf.")
|
||||
responseError(res, "500", "Internal Error", "wtf.");
|
||||
},
|
||||
errorServiceUnavailable: function (res) {
|
||||
res.status(503).send("I'm busy right now, try again later.")
|
||||
res.status(503).send("I'm busy right now, try again later.");
|
||||
},
|
||||
newNote: newNote,
|
||||
showFeatures: showFeatures,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue