Fix preview
This commit is contained in:
parent
c3f7efa03c
commit
223ec66337
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -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})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue