🧡 fork to keep track of and show off which cloudflare developer products you've used:
- Workers
- CI/CD
- Observability
- Static assets
- Gradual deployment
- Browser Rendering API
- Rate limiting API
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
/** | |
* Respond to the request | |
* @param {Request} request | |
*/ | |
async function handleRequest(request) { | |
let count = await counter.get('views') |
For anyone familiar with Cloudflare, you may have found it odd when you tried using a vanity domain on Exposure, and were notified a proxy in front of it would not work.
This guide will walk you through how to put Exposure behind Cloudflare’s proxy when using a custom domain.