summaryrefslogtreecommitdiff
path: root/examples/ws.ts
diff options
context:
space:
mode:
authorAndy Hayden <andyhayden1@gmail.com>2019-03-06 07:24:53 -0800
committerRyan Dahl <ry@tinyclouds.org>2019-03-06 10:24:53 -0500
commitd29957ad17956016c35a04f5f1f98565e58e8a2e (patch)
tree05c4d2e063fd366dd0b9304b13e9a75190c544f7 /examples/ws.ts
parentc6075f373e42a17903e857b9b28ff983d571d43f (diff)
Replace deno.land/x/ with deno.land/std/ (denoland/deno_std#239)
Original: https://github.com/denoland/deno_std/commit/0fc13fffbdb59d6aee2b11ff17a5de382273126b
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 f25a15687..83e890bc0 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/http/mod.ts";
+import { serve } from "https://deno.land/std/http/mod.ts";
import {
acceptWebSocket,
isWebSocketCloseEvent,
isWebSocketPingEvent
-} from "https://deno.land/x/ws/mod.ts";
+} from "https://deno.land/std/ws/mod.ts";
async function main(): Promise<void> {
console.log("websocket server is running on 0.0.0.0:8080");