summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorRory Hart <hartror@gmail.com>2019-10-22 01:36:01 +1100
committerRy Dahl <ry@tinyclouds.org>2019-10-21 10:36:01 -0400
commit27cd2c97f18c0392bc04c66b786717b2bc677315 (patch)
tree6aa6a42b696fa2c2592fa639fa6b07c005b2413b /website
parent4e88ba9a114279b3969d5ccca1cca0f74c8fc1fd (diff)
curl.ts example with reference in manual (#3161)
Diffstat (limited to 'website')
-rw-r--r--website/manual.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/website/manual.md b/website/manual.md
index ec5612372..bb75114c4 100644
--- a/website/manual.md
+++ b/website/manual.md
@@ -421,11 +421,11 @@ $ deno --allow-read=/etc https://deno.land/std/examples/cat.ts /etc/passwd
This is an example to restrict host.
```ts
-const result = await fetch("https://deno.land/std/examples/echo_server.ts");
+const result = await fetch("https://deno.land/");
```
```shell
-$ deno --allow-net=deno.land allow-net-whitelist-example.ts
+$ deno --allow-net=deno.land https://deno.land/std/examples/curl.ts https://deno.land/
```
### Run subprocess