Created
November 27, 2020 12:21
-
-
Save 4ov/69a6f50b866f2bf80277f25b6ddd82fe to your computer and use it in GitHub Desktop.
This file contains 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
import { serve } from "https://deno.land/std@0.79.0/http/server.ts"; | |
const s = serve({ port: 8000 }); | |
for await (const req of s) { | |
req.respond({ body: "4" }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment