Skip to content

Instantly share code, notes, and snippets.

@dgpokl
Created September 24, 2025 19:36
Show Gist options
  • Select an option

  • Save dgpokl/acc04dc725cceb3c1b0be41998aba097 to your computer and use it in GitHub Desktop.

Select an option

Save dgpokl/acc04dc725cceb3c1b0be41998aba097 to your computer and use it in GitHub Desktop.
_headers file for serving permissive CORS from CloudFlare Pages
/*
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: GET, OPTIONS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment