summaryrefslogtreecommitdiff
path: root/http/README.md
diff options
context:
space:
mode:
authorAndy Hayden <andyhayden1@gmail.com>2019-03-06 07:24:53 -0800
committerRyan Dahl <ry@tinyclouds.org>2019-03-06 10:24:53 -0500
commitd29957ad17956016c35a04f5f1f98565e58e8a2e (patch)
tree05c4d2e063fd366dd0b9304b13e9a75190c544f7 /http/README.md
parentc6075f373e42a17903e857b9b28ff983d571d43f (diff)
Replace deno.land/x/ with deno.land/std/ (denoland/deno_std#239)
Original: https://github.com/denoland/deno_std/commit/0fc13fffbdb59d6aee2b11ff17a5de382273126b
Diffstat (limited to 'http/README.md')
-rw-r--r--http/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/http/README.md b/http/README.md
index 2c9a90853..f59685bb4 100644
--- a/http/README.md
+++ b/http/README.md
@@ -5,7 +5,7 @@ A framework for creating HTTP/HTTPS server.
## Example
```typescript
-import { serve } from "https://deno.land/x/http/server.ts";
+import { serve } from "https://deno.land/std/http/server.ts";
const s = serve("0.0.0.0:8000");
async function main() {
@@ -24,5 +24,5 @@ A small program for serving local files over HTTP.
Add the following to your `.bash_profile`
```
-alias file_server="deno https://deno.land/x/http/file_server.ts --allow-net"
+alias file_server="deno https://deno.land/std/http/file_server.ts --allow-net"
```