BenParr
05/25/2023, 10:35 AMawait fetch("https://webhook.site/5edcbf89-476d-451e-9d16", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
1: cfAccessClientId,
2: cfAccessClientSecret,
}),
});
Somehow when I send a fetch request wrangler secrets added via pipeline seem to have a bom (\ueff
) added to the start. When I use worker environment variables it is not added. Has anyone seen this extremely strange behaviour before??? I have tried doing a find and replace in the javascript but looks like they only added when fetch request sent.