This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/main by this push:
new 8d4c62ed3 Ensure we use the chttpd vs httpd section in fix_uri
8d4c62ed3 is described below
commit 8d4c62ed39f7ea787ee879b9f777302f2dd71699
Author: Nick Vatamaniuc <[email protected]>
AuthorDate: Sat Dec 17 13:53:55 2022 -0500
Ensure we use the chttpd vs httpd section in fix_uri
It's a deprecated feature but we want to make sure it still works.
---
src/chttpd/src/chttpd.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chttpd/src/chttpd.erl b/src/chttpd/src/chttpd.erl
index c25c18838..f395a236e 100644
--- a/src/chttpd/src/chttpd.erl
+++ b/src/chttpd/src/chttpd.erl
@@ -574,7 +574,7 @@ make_uri(Req, Raw) ->
Port = integer_to_list(mochiweb_socket_server:get(chttpd, port)),
Url = list_to_binary([
"http://",
- config:get("httpd", "bind_address"),
+ config:get("chttpd", "bind_address"),
":",
Port,
"/",