diff options
Diffstat (limited to 'apps/chttpd/src')
-rw-r--r-- | apps/chttpd/src/chttpd_misc.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/chttpd/src/chttpd_misc.erl b/apps/chttpd/src/chttpd_misc.erl index 9a05f69e..7e6a3a83 100644 --- a/apps/chttpd/src/chttpd_misc.erl +++ b/apps/chttpd/src/chttpd_misc.erl @@ -35,16 +35,16 @@ handle_welcome_req(#httpd{method='GET'}=Req, WelcomeMessage) -> send_json(Req, {[ {couchdb, WelcomeMessage}, {version, list_to_binary(couch:version())}, - {dbcore, get_version()} + {bigcouch, get_version()} ]}); handle_welcome_req(Req, _) -> send_method_not_allowed(Req, "GET,HEAD"). get_version() -> Releases = release_handler:which_releases(), - Version = case [V || {"dbcore", V, _, current} <- Releases] of + Version = case [V || {"bigcouch", V, _, current} <- Releases] of [] -> - case [V || {"dbcore", V, _, permanent} <- Releases] of + case [V || {"bigcouch", V, _, permanent} <- Releases] of [] -> "dev"; [Permanent] -> |