change to whitelist

This commit is contained in:
Lucy Cifferello
2023-04-12 12:10:09 -06:00
parent d599a90e8b
commit b98d3c3d67
5 changed files with 6 additions and 7 deletions

View File

@@ -89,7 +89,7 @@ data AppSettings = AppSettings
, sslPath :: !FilePath
, staticBinDir :: !FilePath
, torPort :: !AppPort
, blacklist :: ![PkgId]
, whitelist :: ![PkgId]
}
instance Has PkgRepo AppSettings where
extract = liftA2 PkgRepo ((</> "apps") . resourcesDir) staticBinDir
@@ -122,7 +122,7 @@ instance FromJSON AppSettings where
sslPath <- o .: "ssl-path"
staticBinDir <- o .: "static-bin-dir"
torPort <- o .: "tor-port"
blacklist <- o .: "blacklist"
whitelist <- o .: "whitelist"
let sslKeyLocation = sslPath </> "key.pem"
let sslCsrLocation = sslPath </> "certificate.csr"