summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorxnum2015-11-23 20:38:26 +0800
committerxnum2015-11-23 20:38:26 +0800
commitf51b7370f030c5cd1235fa7a23514a7e1ccef2dd (patch)
treeb6f43191518b16f74ca33b1406567a0ffcaa6f32 /app.js
parent75ae505a1544d8999e6705aad7ed96ff5a6eb0e5 (diff)
Add Slide Mode
using reveal.js and some part of reveal-md
Diffstat (limited to 'app.js')
-rw-r--r--app.js6
1 files changed, 5 insertions, 1 deletions
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
+});