Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 430 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 430 Bytes

Cloudflare Worker Code Snippets

The following repository is a collection of Cloudflare worker snippets that we've collected over time.

maintenance-page.js

This snippet when used will present a maintenance page to any visitor with an option to bypass the maintenance page based on the connecting IP address.

subdomain-redirect.js

This snippet will redirect sub-domains on a domain name to specific pages based on a list.