From 6d4473324f4fd20a2d138bb6dc264bc4d9337868 Mon Sep 17 00:00:00 2001 From: Phil Rukin Date: Sat, 29 Jun 2019 16:30:01 +0200 Subject: [PATCH] Update instructions to install file server (denoland/deno_std#526) Original: https://github.com/denoland/deno_std/commit/9e5473a5020d3769a5bcdda497815321690e06ca --- http/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http/README.md b/http/README.md index d359f417a30fcd..ab35f956431d99 100644 --- a/http/README.md +++ b/http/README.md @@ -70,8 +70,8 @@ main(); A small program for serving local files over HTTP. -Add the following to your `.bash_profile` +Install it by using `deno install` ```sh -alias file_server="deno run --allow-net https://deno.land/std/http/file_server.ts" +deno install file_server https://deno.land/std/http/file_server.ts --allow-net --allow-read ```