mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-30 11:51:57 +00:00
fixes package.yaml setup
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user