aboutsummaryrefslogtreecommitdiff
path: root/routes/index.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/index.js
parentb38eaa1a814769d93b7cd8348804fc1241098189 (diff)
downloadluciferreeves.github.io-6a43cd05abf6be7d30e405f2e797738ffeaf659a.tar.xz
luciferreeves.github.io-6a43cd05abf6be7d30e405f2e797738ffeaf659a.zip
update posts function
Diffstat (limited to 'routes/index.js')
-rw-r--r--routes/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/routes/index.js b/routes/index.js
index 659d50d..605f6ad 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -13,8 +13,8 @@ const home = require("./home");
router.use("/admin", admin);
router.use("/api/blog", blog);
router.use("/", repositories);
-router.use("/", posts);
router.use("/", home);
+router.use("/", posts);
// Create the routes
@@ -22,6 +22,5 @@ router.get("/about", (req, res) => {
res.render("about.html");
});
-
// Export the routes
module.exports = router;