Update config.md

"server" -> "servers"
This commit is contained in:
Arda Keskiner 2017-01-24 09:50:06 +02:00 committed by GitHub
parent b49c3e3717
commit 52de5279df
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ Let's add a custom key to the `servers.json` file:
This can be accessed from your application's config using the following.
```swift
let customValue = drop.config["server", "http", "custom-key"]?.string ?? "default"
let customValue = drop.config["servers", "http", "custom-key"]?.string ?? "default"
```
That's it, feel free to add and utilize keys as necessary to make your application configuration easier.