Merge pull request #114 from akeskiner/master

Update config.md
This commit is contained in:
Tanner 2017-02-02 14:25:08 +01:00 committed by GitHub
commit 2eadbd5b35
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.