From 7551933c7ade5be5ef3ef627130a0bde64dbe132 Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Sun, 19 Apr 2020 21:48:41 -0400 Subject: [PATCH] update readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index beab05b3d..ab1004123 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,14 @@ class HomeResource extends Drash.Http.Resource { } const server = new Drash.Http.Server({ - address: "localhost:1447", response_output: "text/html", resources: [HomeResource] }); -server.run(); +server.run({ + hostname: "localhost", + port: 1447 +}); ``` ```