Commit Graph

10 Commits (8295edd35da82e970f3ab5b42004b521fc62f135)

Author SHA1 Message Date
Hyeonwoo Cho 77cdf19f7d
Add github readme badge api (#163)
* add github readme badge api

* return error on monitorId is null

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* delete duplicated boolean check

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Refactor badge endpoint to use KV store

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 20:46:27 +08:00
MD. ABU SAYED 64931bf3c4
Add CORS headers to API responses (#162)
The API for status is showing CORS issue: "Response body is not available to scripts (Reason: CORS Missing Allow Origin)" when using from other domain/localhost. To solve this ,CORS header is added. It also possible to specify allowed domain in Env Var in cloudflare and call them directly.
2025-12-05 15:34:59 +08:00
Bennet Gallein a6c8eb6e12
maintenance mode (#101)
* feat: move types

* feat: add maintenance alert

* feat: move to config/base class to have fallback values on missing exports

* fix: wrong import for types

* Revert "fix: wrong import for types"

This reverts commit ca2b2e3a68.

* Revert "feat: move to config/base class to have fallback values on missing exports"

This reverts commit 9932ea2590.

* fix: imports

* chore: formatting

* fix: handle filtering for global status

* fix: pass props

* fix: ignore active maintenances when sending notifications

* fix: mark as warning when monitor is in maintenance

* fix: title width & warning icon

* fix: remove accordeons again

* alert config/style changes, worker code improve

* update example config

* update example config

* set monitors to be optional

---------

Co-authored-by: lyc8503 <me@lyc8503.net>
2025-05-01 01:09:53 +08:00
lyc8503 4bcf4173ea misc: run prettier 2025-04-19 21:50:43 +08:00
lyc8503 44594ca320 remove pages check API 2025-04-13 23:04:40 +08:00
lyc8503 43890eeba6 fix: pages colo 2025-04-12 22:20:33 +08:00
lyc8503 6a7effe668 WIP: check proxy on pages 2025-04-12 22:20:33 +08:00
lyc8503 d8520f4ddc add JSON api 2024-07-01 00:32:31 +08:00
lyc8503 cdd43685f2 wip: worker & pages 2023-10-14 15:21:52 +08:00
lyc8503 c67ea1bd65 Initial commit from Create Next App 2023-10-12 22:16:16 +08:00