/Webworker-Maintenance-Page

An easy (and free) way to implement a Maintenance page using Cloudflare Webworkers.

Primary LanguageJavaScript

Webworker Maintenance Page

An easy (and free) way to implement a Maintenance page using Cloudflare Webworkers.

Getting started

  1. Prepare the webworker script. If you don't want to change any part of the website, you can skip this step. Make your changes to the html document, then Ctrl + A and Copy. Open the webworker file and replace everything between the ` symbols.
  2. Create a Cloudflare Webworker.

Step 1

Step 2

Step 3

Now replace the marked codeblock with the contents of the webworker file. Then hit `Save and Deploy` . 3. Redirecting to the page. This is the last important step. If you don't want to move your server or change the server config you can just tell you server to redirect to the URL given on the cloudflare Worker page.

(More ways coming soon, you can already take a look at the screenshots)