/cloudflarepages-custom-status

Send custom http status code using Cloudflare Pages Functions

Primary LanguageJavaScriptMIT LicenseMIT

cloudflarepages-custom-status

Send custom http status code using Cloudflare Pages Functions

How to use

  1. Download this repository as zip.
  2. If you need, open functions/_middleware.js and edit status code.
  3. Go to your Cloudflare Dashboard, Workers and Pages, About, Create new application, Pages.
  4. Select "Direct upload" and upload the zip file.