diff options
Diffstat (limited to 'src/server/Config.hs')
-rw-r--r-- | src/server/Config.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/Config.hs b/src/server/Config.hs index 37f57ec..bd7f325 100644 --- a/src/server/Config.hs +++ b/src/server/Config.hs @@ -18,6 +18,7 @@ import Control.Arrow (left) data Config = Config { hostname :: Text , port :: Int + , signInExpirationMn :: Int , currency :: Text } deriving (Read, Eq, Show) @@ -28,5 +29,6 @@ getConfig filePath = Config <$> (T.pack <$> get cp "DEFAULT" "hostname") <*> (get cp "DEFAULT" "port") <*> + (get cp "DEFAULT" "sign-in-expiration-mn") <*> (T.pack <$> get cp "DEFAULT" "currency") ) |