Skip to content

Instantly share code, notes, and snippets.

@Jim-Holmstroem
Created September 26, 2018 09:52
Show Gist options
  • Save Jim-Holmstroem/7a98c9df268b5e4e46399b710686d7bf to your computer and use it in GitHub Desktop.
Save Jim-Holmstroem/7a98c9df268b5e4e46399b710686d7bf to your computer and use it in GitHub Desktop.
CloudFlare identity worker
addEventListener('fetch', event => {
event.respondWith(
fetch(event.request.url, event.request)
)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment