Srgr0 / cloudflarepages-custom-status

Send custom http status code using Cloudflare Pages Functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Send custom http status code using Cloudflare Pages Functions

License:MIT License


Languages

Language:JavaScript 100.0%