Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
crookse committed Apr 20, 2020
1 parent e6edaf2 commit 7551933
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
```

```
Expand Down

0 comments on commit 7551933

Please sign in to comment.