summaryrefslogtreecommitdiff
path: root/examples/ws.ts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ws.ts')
-rw-r--r--examples/ws.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ws.ts b/examples/ws.ts
index f8e711c49..bc2a7bd0b 100644
--- a/examples/ws.ts
+++ b/examples/ws.ts
@@ -1,10 +1,10 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import { serve } from "https://deno.land/x/net/http.ts";
+import { serve } from "https://deno.land/x/http/mod.ts";
import {
acceptWebSocket,
isWebSocketCloseEvent,
isWebSocketPingEvent
-} from "https://deno.land/x/net/ws.ts";
+} from "https://deno.land/x/ws/mod.ts";
async function main() {
console.log("websocket server is running on 0.0.0.0:8080");