Remove internal TLS, add option for HTTPS redirection

This commit is contained in:
Joe Nelson
2014-10-12 19:52:20 -07:00
parent 94e0a4b96a
commit abccb295a3
7 changed files with 45 additions and 49 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ isLeft (Left _ ) = True
isLeft _ = False
cfg :: AppConfig
cfg = AppConfig "postgres://dbapi_test:@localhost:5432/dbapi_test" 9000 "test/test.crt" "test/test.key" "dbapi_anonymous"
cfg = AppConfig "postgres://dbapi_test:@localhost:5432/dbapi_test" 9000 "dbapi_anonymous" False
openConnection :: IO Connection
openConnection = connectPostgreSQL' $ configDbUri cfg