http-server
http-server copied to clipboard
robots.txt flag is not working
passing "-r true" or "--robots true" on command line. possible reasons:
- http-server.js, near line 113, there is "options.robots === true", but in fact the value is a string, so === is not right.
- if true, looks like returns "user-agent:" string as body, but shouldn't it call reset.setHeader or something?
This issue has been inactive for 180 days