Fix log output for robots "file".
This commit is contained in:
1 parent
a4bf722bdc
commit
42c912e1a3
1 file changed
+1
-1
@@ -205,7 +205,7 @@ async function main() {
|
||||
});
|
||||
|
||||
// Provide a robots.txt for where search engines should find things.
|
||||
console.log(" * Creating router for sitemap*");
|
||||
console.log(" * Creating router for robots.txt");
|
||||
router.get('/robots.txt', function (req, res) {
|
||||
console.log("robots.txt being provided to", req.socket.remoteAddress)
|
||||
res.send(robots_txt);
|
||||
|
||||
Reference in new issue
Block a user