Created
April 1, 2021 19:11
-
-
Save marco-souza/d0a44bbee4f44be67024bd096dd877d5 to your computer and use it in GitHub Desktop.
hello-world-deno-deploy
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", (event) => { | |
const response = new Response("Hello World!", { | |
headers: { "content-type": "text/plain" }, | |
}); | |
event.respondWith(response); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment