Cloudflare workers maintenance example
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
MaintenancePage Source
MaintenanceWorker.js
Readme.md
ToggleMaintenanceMode.ps1

Readme.md

Cloudflare Workers Maintenance Mode Example

An example Cloudflare worker to host a static maintenance mode page.

This repo contains:

  • JavaScript used to run the worker
  • PowerShell script to toggle worker on/off/get current status
  • The un-workerfied source for the static maintenance page

See for more info https://www.resdevops.com/2018/03/20/cloudflare-workers-maintenance-mode-static-page ]

Maintenance page background: pxhere.com