Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Different worker.js examples

Đang mở
#10 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
25/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
cloud, documentation

Hướng nghiên cứu

Compare the worker.js example on the master branch with the implementation referenced in the Prerender documentation. Determine which token variable and Cloudflare configuration flow is current, then update the relevant documentation or example so the recommended implementation is unambiguous.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
JavaScript
Star
51
Fork
25
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của prerender/prerender-cloudflare-worker

Tất cả issue của prerender/prerender-cloudflare-worker

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.