Dockerfile has typo in server proxy uri variable (#968)

* s/URL/URI/ in dockerfile

* Treat blank proxy uri as missing
This commit is contained in:
Joe Nelson
2017-09-09 15:58:37 -05:00
committed by GitHub
parent 893b66c969
commit 32117ba477
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ readOptions = do
AppConfig <$>
C.key "db-uri"
<*> C.key "db-anon-role"
<*> C.key "server-proxy-uri"
<*> (mfilter (/= "") <$> C.key "server-proxy-uri")
<*> C.key "db-schema"
<*> (fromMaybe "*4" . mfilter (/= "") <$> C.key "server-host")
<*> (fromMaybe 3000 . join . fmap coerceInt <$> C.key "server-port")