diff options
| author | Andy Hayden <andyhayden1@gmail.com> | 2019-01-12 13:50:04 -0800 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-12 16:50:04 -0500 |
| commit | f626b04ebe320a96a220af29595c6ca84cf9a10a (patch) | |
| tree | ea059a796fed0650060398a8d347ae001d6f621c /examples/ws.ts | |
| parent | 7d6a0f64f20004f89f5e2cbfcf7941f0a8dafd21 (diff) | |
Reorgnanize repos, examples and tests (denoland/deno_std#105)
Original: https://github.com/denoland/deno_std/commit/c5e6e015b5be19027f60c19ca86283d12f9258f3
Diffstat (limited to 'examples/ws.ts')
| -rw-r--r-- | examples/ws.ts | 4 |
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"); |
