Merge pull request #292 from mcritz/patch-1

Fixed typo in config code sample
This commit is contained in:
Tanner 2018-03-21 20:55:22 -04:00 committed by GitHub
commit 0da70cd890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ Please notice that `server.json`, and `production/server.json` both declare the
```swift
// will load 0.0.0.0 or 127.0.0.1 based on above config
let host = drop.config["server" "host"]?.string ?? "0.0.0.0"
let host = drop.config["server", "host"]?.string ?? "0.0.0.0"
// will load 9000, or environment variable port.
let port = drop.config["server", "port"]?.int ?? 9000
```