add reset routes to robots.txt disallow

v1.18.x
Julian Lam 7 years ago
parent eddd1697e4
commit f7c412882a

@ -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');
}
};

Loading…
Cancel
Save