Skip to content

robots.txt flag is not working #825

@johannesparty

Description

@johannesparty

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions