Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

robots.txt flag is not working #825

Open
johannesparty opened this issue Aug 7, 2022 · 1 comment
Open

robots.txt flag is not working #825

johannesparty opened this issue Aug 7, 2022 · 1 comment
Labels

Comments

@johannesparty
Copy link

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?
@github-actions
Copy link

github-actions bot commented Feb 3, 2023

This issue has been inactive for 180 days

@github-actions github-actions bot added the stale label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant