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:
@@ -11,6 +11,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- #968, Treat blank proxy uri as missing - @begriffs
|
||||||
|
|
||||||
## [0.4.3.0] - 2017-09-06
|
## [0.4.3.0] - 2017-09-06
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ ENV PGRST_DB_URI= \
|
|||||||
PGRST_DB_POOL=100 \
|
PGRST_DB_POOL=100 \
|
||||||
PGRST_SERVER_HOST=*4 \
|
PGRST_SERVER_HOST=*4 \
|
||||||
PGRST_SERVER_PORT=3000 \
|
PGRST_SERVER_PORT=3000 \
|
||||||
PGRST_SERVER_PROXY_URL= \
|
PGRST_SERVER_PROXY_URI= \
|
||||||
PGRST_JWT_SECRET= \
|
PGRST_JWT_SECRET= \
|
||||||
PGRST_SECRET_IS_BASE64=false \
|
PGRST_SECRET_IS_BASE64=false \
|
||||||
PGRST_MAX_ROWS= \
|
PGRST_MAX_ROWS= \
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ readOptions = do
|
|||||||
AppConfig <$>
|
AppConfig <$>
|
||||||
C.key "db-uri"
|
C.key "db-uri"
|
||||||
<*> C.key "db-anon-role"
|
<*> C.key "db-anon-role"
|
||||||
<*> C.key "server-proxy-uri"
|
<*> (mfilter (/= "") <$> C.key "server-proxy-uri")
|
||||||
<*> C.key "db-schema"
|
<*> C.key "db-schema"
|
||||||
<*> (fromMaybe "*4" . mfilter (/= "") <$> C.key "server-host")
|
<*> (fromMaybe "*4" . mfilter (/= "") <$> C.key "server-host")
|
||||||
<*> (fromMaybe 3000 . join . fmap coerceInt <$> C.key "server-port")
|
<*> (fromMaybe 3000 . join . fmap coerceInt <$> C.key "server-port")
|
||||||
|
|||||||
Reference in New Issue
Block a user