mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 08:39:09 -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}!` });
|
|
};
|