Hacker News new | ask | show | jobs
by contravariant 1777 days ago
No need for the headers just return a 401 or 403 on a GET to '/'.

> If call to '/' fails with 401 or 403 pass the check and show a warning (message will be linked later). This happens if the monitor permission missing for user. The subsequent checks must be ignored.