aboutsummaryrefslogtreecommitdiffstats
path: root/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'server.js')
-rwxr-xr-xserver.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.js b/server.js
index 6d51d1b..286932d 100755
--- a/server.js
+++ b/server.js
@@ -25,7 +25,7 @@ const morgan = require("morgan");
const model = require("./model");
model.dbInit();
-model.populateDB(model.blogPost);
+// model.populateDB(model.blogPost);
const app = express();
app.disable("x-powered-by");
@@ -141,7 +141,7 @@ app.get("/rss/feed", (req, res) => {
.select("title slug lastUpdatedAt teaser")
.exec(function (err, posts) {
if (err) return err;
- return res.render("rss_feed.pug", { cache: true, posts: posts });
+ return res.render("rss_feed_v2.pug", { cache: true, posts: posts });
});
});