mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
added X-Powered-By header for builtwith.com
This commit is contained in:
@@ -213,6 +213,7 @@ module.exports = function(app, data) {
|
||||
app.use(function (req, res, next) {
|
||||
res.locals.csrf_token = req.session._csrf;
|
||||
res.setHeader('X-Frame-Options', 'SAMEORIGIN');
|
||||
res.setHeader('X-Powered-By', 'NodeBB');
|
||||
next();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user