diff options
author | tokiedokie <thetokiedokie@gmail.com> | 2020-10-04 21:18:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 14:18:36 +0200 |
commit | 3d65177dbcaf6d08c7e4a412beece8ee6939d466 (patch) | |
tree | 53b5954f612daa559f8e893471083f854ea63464 /std/ws | |
parent | ec963238230c7f92a29da27ced0a2ec706af92d0 (diff) |
docs(std): version all imports in README (#7442)
Use $STD_VERSION in std/ README files to automatically
display proper version.
Diffstat (limited to 'std/ws')
-rw-r--r-- | std/ws/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/ws/README.md b/std/ws/README.md index 329116a22..786d6f393 100644 --- a/std/ws/README.md +++ b/std/ws/README.md @@ -8,13 +8,13 @@ WebSockets, use the ```ts // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { serve } from "https://deno.land/std/http/server.ts"; +import { serve } from "https://deno.land/std@$STD_VERSION/http/server.ts"; import { acceptWebSocket, isWebSocketCloseEvent, isWebSocketPingEvent, WebSocket, -} from "https://deno.land/std/ws/mod.ts"; +} from "https://deno.land/std@$STD_VERSION/ws/mod.ts"; async function handleWs(sock: WebSocket) { console.log("socket connected!"); |