mirror of https://github.com/vapor/docs.git
Fixed typo in config guide.
This commit is contained in:
parent
28ca0cb04f
commit
1b014a1885
|
|
@ -77,7 +77,7 @@ let name = drop.config["keys", "test-names", 0]?.string ?? "default"
|
|||
Or our mongo url:
|
||||
|
||||
```swift
|
||||
let mongoUrl = drop.config["keys", "mongo", "url"].?string ?? "default"
|
||||
let mongoUrl = drop.config["keys", "mongo", "url"]?.string ?? "default"
|
||||
```
|
||||
|
||||
## Advanced Configurations
|
||||
|
|
|
|||
Loading…
Reference in New Issue