mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
closed #328
This commit is contained in:
@@ -428,7 +428,6 @@ var express = require('express'),
|
||||
app.get('/robots.txt', function (req, res) {
|
||||
res.set('Content-Type', 'text/plain');
|
||||
res.send("User-agent: *\n" +
|
||||
"Disallow: \n" +
|
||||
"Disallow: /admin/\n" +
|
||||
"Sitemap: " + nconf.get('url') + "sitemap.xml");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user