jschan - Anonymous imageboard software. Classic look, modern features and feel. Works without JavaScript and supports Tor, I2P, Lokinet, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
403 B

'use strict';
module.exports = async (req, res) => {
return res
.set('Cache-Control', 'private, max-age=5')
.render('editpost', {
'csrf': req.csrfToken(),
'post': res.locals.post,
'board': res.locals.board,
'referer': (req.headers.referer || `/${res.locals.post.board}/manage/thread/${res.locals.post.thread || res.locals.post.postId}.html`) + `#${res.locals.post.postId}`,
});
};