ecerroni / cloudflare-worker-template-prerenderio

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

đź‘· 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

License:MIT License


Languages

Language:JavaScript 100.0%