Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Better than either of those, I think, would be

  allow url("your-url-here")
(with reject or something similar for the opposite).

You could even drop the url method and simply write

  allow "your-url-here"
if you only need to allow/disallow based on URLs.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: