CORS issue when requesting data from shopify app (remix template) during local theme development

Hello @Danh11

Thanks, i’ve been trying to make a fetch request from my extension to my server. Even tried what worked for you. My loader function is similar to yours. Any idea what I’m doing wrong?

fetch('https://insight-fog-gmc-implies.trycloudflare.com/app/make', {
  method: "POST",
  body: "Hello, World!",
  headers: {
    "Content-Type": "text/plain"
  }
})