From 27cd2c97f18c0392bc04c66b786717b2bc677315 Mon Sep 17 00:00:00 2001 From: Rory Hart Date: Tue, 22 Oct 2019 01:36:01 +1100 Subject: curl.ts example with reference in manual (#3161) --- website/manual.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'website') 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 -- cgit v1.2.3