Cyb3r-Jok3
05/27/2023, 8:24 PMJames
05/27/2023, 8:24 PMAA
05/27/2023, 8:25 PMJames
05/27/2023, 8:26 PMproduction
stuff on the dashboard entirely right nowJames
05/27/2023, 8:26 PMAA
05/27/2023, 8:26 PMAA
05/27/2023, 8:26 PMJames
05/27/2023, 8:27 PMAA
05/27/2023, 8:27 PMAA
05/27/2023, 8:28 PMAA
05/27/2023, 8:36 PMvyber
05/27/2023, 8:41 PMItsWendell
05/27/2023, 9:45 PMWalshy | Pages
05/27/2023, 9:49 PMsirupsen
05/28/2023, 1:03 AMsirupsen
05/28/2023, 1:08 AMwaitUntil
, pushing the logs to R2, and then writing a billing script that does the timestamp delta. Not exactly elegant...kian
05/28/2023, 1:23 AMkian
05/28/2023, 1:23 AMkian
05/28/2023, 1:23 AMkian
05/28/2023, 1:24 AMSoulHarsh007
05/28/2023, 2:08 AMWalshy | Pages
05/28/2023, 2:09 AMrequest.cf.colo
Walshy | Pages
05/28/2023, 2:10 AMrequest.cf.region
for more region like infoSoulHarsh007
05/28/2023, 2:20 AMSoulHarsh007
05/28/2023, 2:22 AMWalshy | Pages
05/28/2023, 2:28 AMjs
const res = await fetch('https://cloudflare.com/cdn-cgi/trace');
const text = await res.text();
const colo = text.substring(text.indexOf('colo=') + 5, text.indexOf('\n', text.indexOf('colo=')));