mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 02:29:06 -05:00
c6f1107e9c
There are more uses of `deno.land/std` in the codebase, but for URL parsing purposes rather than network calls or documentation.
5 lines
167 B
TypeScript
5 lines
167 B
TypeScript
import { ServerRequest } from "jsr:@std/http/server";
|
|
|
|
export default (req: ServerRequest) => {
|
|
req.respond({ body: `Hello, from Deno v${Deno.version.deno}!` });
|
|
};
|