summaryrefslogtreecommitdiff
path: root/docs/examples/file_server.md
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-07-31 11:12:20 +0200
committerGitHub <noreply@github.com>2020-07-31 11:12:20 +0200
commit4afb4b6e46de2ed536a3c9828d70d7799b5b6d03 (patch)
treeaa31f3ea3b5ca01a97e13a777eed51c7dcbd17c4 /docs/examples/file_server.md
parent6e7208bec2911ac0d1729f334fc90bc50b8f9203 (diff)
feat: add $STD_VERSION replacement variable in docs (#6922)
Diffstat (limited to 'docs/examples/file_server.md')
-rw-r--r--docs/examples/file_server.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/file_server.md b/docs/examples/file_server.md
index b59168764..4559b5e3d 100644
--- a/docs/examples/file_server.md
+++ b/docs/examples/file_server.md
@@ -3,14 +3,14 @@
This one serves a local directory in HTTP.
```shell
-deno install --allow-net --allow-read https://deno.land/std/http/file_server.ts
+deno install --allow-net --allow-read https://deno.land/std@$STD_VERSION/http/file_server.ts
```
Run it:
```shell
$ file_server .
-Downloading https://deno.land/std/http/file_server.ts...
+Downloading https://deno.land/std@$STD_VERSION/http/file_server.ts...
[...]
HTTP server listening on http://0.0.0.0:4500/
```