mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 02:29:06 -05:00
Update instructions to install file server (denoland/deno_std#526)
Original: 9e5473a502
This commit is contained in:
parent
5bf765b1b4
commit
6d4473324f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue