HTTPS only

This commit is contained in:
Joe Nelson
2014-09-29 14:06:20 -07:00
parent 631f651f44
commit 2f584be0d6
6 changed files with 64 additions and 3 deletions
+4 -1
View File
@@ -45,7 +45,10 @@ import Data.Ranged.Ranges (emptyRange)
data AppConfig = AppConfig {
configDbUri :: String
, configPort :: Int }
, configPort :: Int
, configSslCert :: FilePath
, configSslKey :: FilePath
}
jsonContentType :: (HeaderName, BS.ByteString)
jsonContentType = (hContentType, "application/json")