diff --git a/src/controllers/index.js b/src/controllers/index.js index 6e82dbf4a2..f6bfc322f4 100644 --- a/src/controllers/index.js +++ b/src/controllers/index.js @@ -233,6 +233,7 @@ Controllers.robots = function (req, res) { } else { res.send('User-agent: *\n' + 'Disallow: ' + nconf.get('relative_path') + '/admin/\n' + + 'Disallow: ' + nconf.get('relative_path') + '/reset/\n' + 'Sitemap: ' + nconf.get('url') + '/sitemap.xml'); } };