summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/README.md6
-rwxr-xr-xexamples/gist.ts2
-rw-r--r--examples/ws.ts4
3 files changed, 6 insertions, 6 deletions
diff --git a/examples/README.md b/examples/README.md
index 874626ec4..7f828093a 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -1,11 +1,11 @@
# Deno Example Programs
-These files are accessible for import via "https://deno.land/x/examples/".
+These files are accessible for import via "https://deno.land/std/examples/".
Try it:
```
-> deno https://deno.land/x/examples/gist.ts README.md
+> deno https://deno.land/std/examples/gist.ts README.md
```
## Alias Based Installation
@@ -14,5 +14,5 @@ Add this to your `.bash_profile`
```
export GIST_TOKEN=ABC # Generate at https://github.com/settings/tokens
-alias gist="deno https://deno.land/x/examples/gist.ts --allow-net --allow-env"
+alias gist="deno https://deno.land/std/examples/gist.ts --allow-net --allow-env"
```
diff --git a/examples/gist.ts b/examples/gist.ts
index f64f69226..fb6837059 100755
--- a/examples/gist.ts
+++ b/examples/gist.ts
@@ -2,7 +2,7 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
const { args, env, exit, readFile } = Deno;
-import { parse } from "https://deno.land/x/flags/mod.ts";
+import { parse } from "https://deno.land/std/flags/mod.ts";
function pathBase(p: string): string {
const parts = p.split("/");
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");