Skip to content

Node.js based forum software built for the modern web

add reset routes to robots.txt disallow

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