From bad6f2b224a92e3bf5cdaf5f8cbc700cb0f9de04 Mon Sep 17 00:00:00 2001 From: Ch3ri0ur <22932267+Ch3ri0ur@users.noreply.github.com> Date: Tue, 9 Jun 2020 21:08:38 +0200 Subject: Readme cleanup in encoding and ws (#6209) --- std/ws/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/ws/README.md') 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!"); -- cgit v1.2.3