1
0
Fork 0
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:
Luca Casonato 2020-10-20 12:15:25 +02:00 committed by GitHub
parent 7aba07cc77
commit 65dc86ebc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {