Skip to content

Instantly share code, notes, and snippets.

@wperron
Last active July 19, 2021 15:52
Show Gist options
  • Save wperron/69b81dc73064c0a175efe3967c9f71dd to your computer and use it in GitHub Desktop.
Save wperron/69b81dc73064c0a175efe3967c9f71dd to your computer and use it in GitHub Desktop.
Deno Deploy recursive request
addEventListener("fetch", (e) => {
e.respondWith(handler(e));
});
function handler(e) {
return fetch(e.request)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment