Simple robots.txt middleware for Express
robots.txt
at /robots.txt
No config implemented
const robotsTxt = require('./middleware/robotsTxt');
this.server.use(robotsTxt(this, this.config.robotsTxt));
{
"robotsTxt": {
"disallowAll": true,
"useDrupalRobots": false,
"disallowRules": []
}
}
No links available
Last modified | Friday, April 30, 2021, 12:00:21 PM UTC |
Last author | Colin van Eenige |
Commit ID | 4c7a701 |