05/25/2023, 10:35 AM
guys someome please help me on this nobody had any ideas yesterday.
await fetch("", {
    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 (
) 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.