mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 20:38:55 +00:00
fix: codesnippet in README contains $STD_VERSION (#8045)
This commit is contained in:
parent
7aba07cc77
commit
65dc86ebc3
@ -65,7 +65,7 @@ deno run https://deno.land/std/examples/welcome.ts
|
||||
Or a more complex one:
|
||||
|
||||
```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 });
|
||||
console.log("http://localhost:8000/");
|
||||
for await (const req of s) {
|
||||
|
Loading…
Reference in New Issue
Block a user