Fix log output for robots "file".
This commit is contained in:
2
main.js
2
main.js
@@ -205,7 +205,7 @@ async function main() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Provide a robots.txt for where search engines should find things.
|
// 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) {
|
router.get('/robots.txt', function (req, res) {
|
||||||
console.log("robots.txt being provided to", req.socket.remoteAddress)
|
console.log("robots.txt being provided to", req.socket.remoteAddress)
|
||||||
res.send(robots_txt);
|
res.send(robots_txt);
|
||||||
|
|||||||
Reference in New Issue
Block a user