Skip to content

Latest commit

 

History

History
 
 

pages-functions-cors

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Template: pages-functions-cors

Deploy to Cloudflare Workers

A template for Pages Functions appending CORS headers.

Setup

To create a my-project directory using this template, run:

$ npm init cloudflare my-project pages-functions-cors
# or
$ yarn create cloudflare my-project pages-functions-cors
# or
$ pnpm create cloudflare my-project pages-functions-cors

Note: Each command invokes create-cloudflare for project creation.