hanpolo
02/24/2023, 12:54 AMhanpolo
02/24/2023, 12:56 AMhanpolo
02/24/2023, 1:11 AMnpx wrangler -h
zszszsz
02/24/2023, 1:12 AMzszszsz
02/24/2023, 1:13 AMJustinNoel
02/24/2023, 12:38 PM/seed-user
and have the worker put in whatever you need. I've also added an authentication check to this to make sure no one can randomly hit this route.hanpolo
02/24/2023, 9:52 PMhanpolo
02/24/2023, 9:53 PMhanpolo
02/25/2023, 12:23 AMSkye
02/25/2023, 12:27 AMSkye
02/25/2023, 12:27 AMcontext.data = { ... }
, but instead context.data.foo = ...
hanpolo
02/25/2023, 12:30 AMajgeiss0702
02/26/2023, 6:35 PMInternal Error
when its deployed to cloudflare pages, but when I test locally (using wrangler) it works perfectly.Erisa | Support Engineer
02/26/2023, 6:37 PMHelpflare
02/26/2023, 6:37 PMwrangler pages deployment tail [deploymentId/url]
Erisa | Support Engineer
02/26/2023, 6:38 PMajgeiss0702
02/26/2023, 6:38 PMajgeiss0702
02/26/2023, 6:46 PMJames
02/26/2023, 6:48 PMfetch('some.ip.address')
?James
02/26/2023, 6:48 PMfetch
direct IP addresses for example thoughajgeiss0702
02/26/2023, 6:50 PMajgeiss0702
02/26/2023, 6:50 PMJames
02/26/2023, 6:51 PMajgeiss0702
02/26/2023, 6:51 PMajgeiss0702
02/26/2023, 6:59 PMajgeiss0702
02/26/2023, 6:59 PMajgeiss0702
02/26/2023, 7:03 PMjs
const userDataRaw = await fetch("http://my.domain.com:25394/getInfo?id=" + encodeURIComponent(id))
.then(r => r.text());
console.log("response: " + userDataRaw);
ajgeiss0702
02/26/2023, 7:04 PMajgeiss0702
02/26/2023, 7:04 PM