eidam / cf-workers-status-page

Monitor your websites, showcase status including daily history, and get Slack/Telegram/Discord notification whenever your website status changes. Using Cloudflare Workers, CRON Triggers, and KV storage.
https://status-page.eidam.dev
MIT License
2.3k stars 1.4k forks source link

operational status apart from 200 not working as expected #120

Open sinkaroid opened 1 year ago

sinkaroid commented 1 year ago

Basicaly some of my internal service that i want display required authorization, I have change the expectStatus with 401 but seems not work until i disabled the authorization

https://github.com/eidam/cf-workers-status-page/blob/main/src/functions/cronTrigger.js#L59 the flow here seem have no issues that default value should 200, but why it's not listening with 401

sinkaroid commented 1 year ago

Screenshot_207 The check working as intended, the lowest one is part which required authorization