Fix log output for robots "file".

This commit is contained in:
2026-05-15 13:15:38 -07:00
parent a4bf722bdc
commit 42c912e1a3

View File

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