From f51b7370f030c5cd1235fa7a23514a7e1ccef2dd Mon Sep 17 00:00:00 2001 From: xnum Date: Mon, 23 Nov 2015 20:38:26 +0800 Subject: Add Slide Mode using reveal.js and some part of reveal-md --- app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app.js') diff --git a/app.js b/app.js index e48bd4b4..3dda03c3 100644 --- a/app.js +++ b/app.js @@ -357,6 +357,10 @@ app.get("/features", response.showFeatures); app.get("/s/:shortid", response.showPublishNote); //publish note actions app.get("/s/:shortid/:action", response.publishNoteActions); + +//add p +app.get("/p/:shortid", response.showPublishSlide); + //get note by id app.get("/:noteId", response.showNote); //note actions @@ -391,4 +395,4 @@ if (config.usessl) { } process.on('uncaughtException', function (err) { logger.error(err); -}); \ No newline at end of file +}); -- cgit v1.2.3