summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Rukin <phil.ficus@gmail.com>2019-06-29 16:30:01 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-06-29 10:30:01 -0400
commit6d4473324f4fd20a2d138bb6dc264bc4d9337868 (patch)
tree17893c8455e6842eaf81b300b91a33eb7ad0ff96
parent5bf765b1b4dfa68ae3c5dc9d9a5942af76d1f87a (diff)
Update instructions to install file server (denoland/deno_std#526)
Original: https://github.com/denoland/deno_std/commit/9e5473a5020d3769a5bcdda497815321690e06ca
-rw-r--r--http/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/http/README.md b/http/README.md
index d359f417a..ab35f9564 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
```