Add Disallow: /compose to robots.txt

This commit is contained in:
Ricki Hirner
2019-01-23 11:14:10 +01:00
committed by Julian Lam
parent b48f1b4d91
commit 0a662e4882

View File

@@ -252,6 +252,7 @@ Controllers.robots = function (req, res) {
res.send('User-agent: *\n' +
'Disallow: ' + nconf.get('relative_path') + '/admin/\n' +
'Disallow: ' + nconf.get('relative_path') + '/reset/\n' +
'Disallow: ' + nconf.get('relative_path') + '/compose\n' +
'Sitemap: ' + nconf.get('url') + '/sitemap.xml');
}
};