made all config params start lower case
This commit is contained in:
parent
5dfca68212
commit
9a3183d239
2 changed files with 6 additions and 6 deletions
|
@ -67,9 +67,9 @@ httpDefaultSettings = [httpDefaultSetting]
|
|||
httpConfigCodec :: TomlCodec HttpConfiguration
|
||||
httpConfigCodec =
|
||||
HttpConfiguration
|
||||
<$> Toml.configM Toml.text "InstanceName" .= instanceName
|
||||
<*> Toml.configM Toml.int "Port" .= port
|
||||
<*> Toml.configM bindPreference "Bind" .= bindPref
|
||||
<$> Toml.configM Toml.text "instanceName" .= instanceName
|
||||
<*> Toml.configM Toml.int "port" .= port
|
||||
<*> Toml.configM bindPreference "bind" .= bindPref
|
||||
|
||||
httpConfigsCodec :: TomlCodec [HttpConfiguration]
|
||||
httpConfigsCodec = Toml.list httpConfigCodec "http"
|
||||
|
|
|
@ -55,9 +55,9 @@ httpsDefaultSettings = [httpsDefaultSetting]
|
|||
httpsConfigCodec' :: TomlCodec TLSConfiguration
|
||||
httpsConfigCodec' =
|
||||
TLSConfiguration
|
||||
<$> Toml.configM Toml.string "Certificate" .= certFile
|
||||
<*> Toml.configM (Toml.arrayOf Toml._String) "CertChain" .= certChain
|
||||
<*> Toml.configM Toml.string "KeyFile" .= keyFile
|
||||
<$> Toml.configM Toml.string "certificate" .= certFile
|
||||
<*> Toml.configM (Toml.arrayOf Toml._String) "certChain" .= certChain
|
||||
<*> Toml.configM Toml.string "keyFile" .= keyFile
|
||||
|
||||
httpsConfigCodec :: TomlCodec HttpsConfiguration
|
||||
httpsConfigCodec = Toml.pair httpConfigCodec httpsConfigCodec'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue