Skip to content

Cloudflare Worker template for Wrangler CLI. Provides support for Prerender.io

License

Notifications You must be signed in to change notification settings

bcnzer/cloudflare-worker-template-prerenderio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👷 cloudflare-worker-template-prerenderio Prerender.io

A template for kick starting a Cloudflare worker project with Prerender.io

index.js is the content of the Workers script with the Prerender.io support.

Note this template is based on the code from websirnik in this thread.

Configuration

You need to enter your Prerender token. There is a variable MY_PRERENDER_TOKEN at the top of the file, between the single quotes.

Wrangler

To generate using wrangler

wrangler generate myApp https://github.com/bcnzer/cloudflare-worker-template-prerenderio

Serverless

To deploy using serverless add a serverless.yml file.

About

Cloudflare Worker template for Wrangler CLI. Provides support for Prerender.io

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages