Last active
July 13, 2021 14:28
-
-
Save wperron/bf7a211ed8109bbbcfafd490cce64dff to your computer and use it in GitHub Desktop.
Deno Deploy get Trace ID
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addEventListener("fetch", (e) => { | |
let ray = e.request.headers.get("x-deno-ray"); | |
console.log(ray); | |
e.respondWith(new Response(ray, {status: 200})); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment