summaryrefslogtreecommitdiff
path: root/std/ws
diff options
context:
space:
mode:
Diffstat (limited to 'std/ws')
-rw-r--r--std/ws/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/ws/README.md b/std/ws/README.md
index 0c3b7a2a2..d719f22a9 100644
--- a/std/ws/README.md
+++ b/std/ws/README.md
@@ -8,13 +8,13 @@ ws module is made to provide helpers to create WebSocket client/server.
```ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-import { serve } from "../../http/server.ts";
+import { serve } from "https://deno.land/std/http/server.ts";
import {
acceptWebSocket,
isWebSocketCloseEvent,
isWebSocketPingEvent,
WebSocket,
-} from "../../ws/mod.ts";
+} from "https://deno.land/std/ws/mod.ts";
async function handleWs(sock: WebSocket) {
console.log("socket connected!");