Fix preview

This commit is contained in:
Daniella / Tove 2022-01-23 06:47:47 +01:00
parent c3f7efa03c
commit 223ec66337

View file

@ -57,7 +57,7 @@ server.get('/post', function get(req, res) {
if(req.query.id) {
let id = req.query.id
if(posts[id]) {
res.render('post.ejs', {post: posts[id], postid: id, webname: webname, email: email, comment: null})
res.render('post.ejs', {post: posts[id], postid: id, webname: webname, email: email, comment: null, fake: false})
}
}
})