fixes package.yaml setup

This commit is contained in:
Aaron Greenspan
2019-12-21 13:42:08 -07:00
parent 22e1170e79
commit 9153058a7e
7 changed files with 66 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ import Paths_start9_registry (version)
import Startlude
configBasePath :: FilePath
configBasePath = "/root/registry"
configBasePath = "./config"
registryVersion :: AppVersion
registryVersion = fromJust . parseMaybe parseJSON . String . toS . showVersion $ version

View File

@@ -45,7 +45,6 @@ instance FromJSON AppSettings where
appHost <- fromString <$> o .: "host"
appPort <- o .: "port"
appIpFromHeader <- o .: "ip-from-header"
appDetailedRequestLogging <- o .:? "detailed-logging" .!= True
appShouldLogAll <- o .:? "should-log-all" .!= False