aboutsummaryrefslogtreecommitdiff
path: root/routes/posts.js
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-03-21 01:28:56 -0400
committerBobby <[email protected]>2022-03-21 01:28:56 -0400
commit6a43cd05abf6be7d30e405f2e797738ffeaf659a (patch)
tree1d89ba30395fc82e7b41a30610007363af79de26 /routes/posts.js
parentb38eaa1a814769d93b7cd8348804fc1241098189 (diff)
downloadluciferreeves.github.io-6a43cd05abf6be7d30e405f2e797738ffeaf659a.tar.xz
luciferreeves.github.io-6a43cd05abf6be7d30e405f2e797738ffeaf659a.zip
update posts function
Diffstat (limited to 'routes/posts.js')
-rw-r--r--routes/posts.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/routes/posts.js b/routes/posts.js
index bc22670..00b092f 100644
--- a/routes/posts.js
+++ b/routes/posts.js
@@ -6,7 +6,6 @@ const router = express.Router();
const marked = require("marked");
const hljs = require("highlight.js");
-
router.get("/posts/:id", function (req, res) {
const id = req.params.id;
// get single document where slug === id