Openstatus www.openstatus.dev

appending open-status header to avoid tracking requests if this header exist (#205)

* appending open-status header to avoid tracking requests if this header exist

* append header in the ping request

* missed a , fix

* fix: linting

---------

Co-authored-by: Maximilian Kaske <56969857+mxkaske@users.noreply.github.com>

authored by

Mahmoud Galal
Maximilian Kaske
and committed by
GitHub
6300fa67 c580b936

+4 -1
+4 -1
apps/web/src/app/api/checker/regions/_checker.ts
··· 87 87 const res = await fetch(result.data?.url, { 88 88 method: result.data?.method, 89 89 cache: "no-store", 90 - headers: { ...headers }, 90 + headers: { 91 + "OpenStatus-Ping": "true", 92 + ...headers 93 + }, 91 94 body: result.data?.body, 92 95 }); 93 96