Fixed typo in config code sample

This commit is contained in:
Michael Critz 2018-03-16 21:07:28 +00:00 committed by GitHub
parent 9f6b90f253
commit aeb29c039c
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
```