fix: #7493, adding robots noindex meta tag to compose and reset routes

This commit is contained in:
Julian Lam
2019-03-27 17:10:56 -04:00
parent 86e1cdd541
commit 6415ba82c4
2 changed files with 12 additions and 0 deletions

View File

@@ -9,6 +9,12 @@ var topics = require('../topics');
var helpers = require('./helpers');
exports.get = function (req, res, callback) {
res.locals.metaTags = {
...res.locals.metaTags,
name: 'robots',
content: 'noindex',
};
async.waterfall([
function (next) {
plugins.fireHook('filter:composer.build', {