diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/gist.ts | 2 | ||||
-rw-r--r-- | examples/ws.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/gist.ts b/examples/gist.ts index 7b3d59f87..1baff874a 100755 --- a/examples/gist.ts +++ b/examples/gist.ts @@ -1,7 +1,7 @@ #!/usr/bin/env deno --allow-net --allow-env import { args, env, exit, readFile } from "deno"; -import { parse } from "https://deno.land/x/flags/index.ts"; +import { parse } from "https://deno.land/x/flags/mod.ts"; function pathBase(p: string): string { const parts = p.split("/"); 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"); |