Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different worker.js examples #10

Open
DawsonCTO opened this issue Oct 11, 2023 · 0 comments
Open

Different worker.js examples #10

DawsonCTO opened this issue Oct 11, 2023 · 0 comments

Comments

@DawsonCTO
Copy link

I've been implementing the Cloudflare worker for Prerender integration. It seems the documentation points me to two different implementations of with worker.js. The example on the master branch uses an API_KEY variable where the Prerender token is to be assigned and another example from Prerender documentation uses an environment variable PRERENDER_TOKEN that is assigned via the Cloudflare add variable UI.

Is the worker.js example on master the correct implementation to use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant