Change server-proxy-uri 2 openapi-server-proxy-uri

The server-proxy-uri config option mislead into thinking it was a
web server global setting when it's only related to OpenAPI.
This commit is contained in:
steve-chavez
2020-02-02 15:23:32 -05:00
committed by Steve Chavez
parent 9b1224827a
commit b75e7cef90
7 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ main = do
conf <- loadDbUriFile =<< loadSecretFile =<< readOptions
let host = configHost conf
port = configPort conf
proxy = configProxyUri conf
proxy = configOpenAPIProxyUri conf
maybeSocketAddr = configSocket conf
socketFileMode = configSocketMode conf
pgSettings = toS (configDatabase conf) -- is the db-uri