mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix: codesnippet in README contains $STD_VERSION (#8045)
This commit is contained in:
parent
7aba07cc77
commit
65dc86ebc3
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ deno run https://deno.land/std/examples/welcome.ts
|
||||||
Or a more complex one:
|
Or a more complex one:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { serve } from "https://deno.land/std@$STD_VERSION/http/server.ts";
|
import { serve } from "https://deno.land/std/http/server.ts";
|
||||||
const s = serve({ port: 8000 });
|
const s = serve({ port: 8000 });
|
||||||
console.log("http://localhost:8000/");
|
console.log("http://localhost:8000/");
|
||||||
for await (const req of s) {
|
for await (const req of s) {
|
||||||
|
|
Loading…
Reference in a new issue