We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7b719b commit cf003c3Copy full SHA for cf003c3
1 file changed
app.js
@@ -434,6 +434,10 @@ app.get("/p/:shortid", response.showPublishSlide);
434
app.get("/:noteId", response.showNote);
435
//note actions
436
app.get("/:noteId/:action", response.noteActions);
437
+// response not found if no any route matches
438
+app.get('*', function (req, res) {
439
+ response.errorNotFound(res);
440
+});
441
442
//socket.io secure
443
io.use(realtime.secure);
0 commit comments