Readd openapi-server-proxy-uri config option

This option accidentaly got lost during a merge.

Fixes https://github.com/PostgREST/postgrest/issues/1500
This commit is contained in:
steve-chavez
2020-05-02 11:51:32 -05:00
committed by Steve Chavez
parent f02904a959
commit f57caf0987
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ readOptions = do
AppConfig
<$> reqString "db-uri"
<*> reqString "db-anon-role"
<*> optString "server-proxy-uri"
<*> optString "openapi-server-proxy-uri"
<*> (fromList . splitOnCommas <$> reqValue "db-schema")
<*> (fromMaybe "!4" <$> optString "server-host")
<*> (fromMaybe 3000 <$> optInt "server-port")