docs: fix command examples use outdated default file_server port (#8062)

This commit is contained in:
Max Drosdo.www 2020-10-22 18:17:38 +03:00 committed by GitHub
parent 0a2f0fe7f2
commit 17eaede643
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ Once our script is running again, let's send a request and inspect it in
Devtools: Devtools:
``` ```
$ curl http://0.0.0.0:4500/ $ curl http://0.0.0.0:4507/
``` ```
![Break in request handling](../images/debugger5.jpg) ![Break in request handling](../images/debugger5.jpg)

View file

@ -15,7 +15,7 @@ A small program for serving local files over HTTP.
```sh ```sh
deno run --allow-net --allow-read https://deno.land/std/http/file_server.ts deno run --allow-net --allow-read https://deno.land/std/http/file_server.ts
> HTTP server listening on http://0.0.0.0:4500/ > HTTP server listening on http://0.0.0.0:4507/
``` ```
## Cookie ## Cookie