Send custom http status code using Cloudflare Pages Functions
- Download this repository as zip.
- If you need, open functions/_middleware.js and edit status code.
- Go to your Cloudflare Dashboard, Workers and Pages, About, Create new application, Pages.
- Select "Direct upload" and upload the zip file.