Skip to content

Commit

Permalink
Ensure we use the chttpd vs httpd section in fix_uri
Browse files Browse the repository at this point in the history
It's a deprecated feature but we want to make sure it still works.
  • Loading branch information
nickva committed Dec 17, 2022
1 parent fb76d37 commit 8d4c62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chttpd/src/chttpd.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
"/",
Expand Down

0 comments on commit 8d4c62e

Please sign in to comment.