summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2022-12-17 13:53:55 -0500
committerNick Vatamaniuc <nickva@users.noreply.github.com>2022-12-17 14:32:50 -0500
commit8d4c62ed39f7ea787ee879b9f777302f2dd71699 (patch)
tree642717d9fc1f65bcd3a7873701e132ac6a879896 /src
parentfb76d3756b41fabbeca5198f369881d0a63a95d6 (diff)
downloadcouchdb-8d4c62ed39f7ea787ee879b9f777302f2dd71699.tar.gz
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.
Diffstat (limited to 'src')
-rw-r--r--src/chttpd/src/chttpd.erl2
1 files changed, 1 insertions, 1 deletions
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,
"/",