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
+2
View File
@@ -11,6 +11,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- #968, Treat blank proxy uri as missing - @begriffs
## [0.4.3.0] - 2017-09-06
### Added
+1 -1
View File
@@ -30,7 +30,7 @@ ENV PGRST_DB_URI= \
PGRST_DB_POOL=100 \
PGRST_SERVER_HOST=*4 \
PGRST_SERVER_PORT=3000 \
PGRST_SERVER_PROXY_URL= \
PGRST_SERVER_PROXY_URI= \
PGRST_JWT_SECRET= \
PGRST_SECRET_IS_BASE64=false \
PGRST_MAX_ROWS= \
+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")