diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-08-27 17:42:27 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-27 17:47:42 -0400 |
commit | 7b0005be9dd45a0ce3639a7f5db58c1d2df2e485 (patch) | |
tree | c20a8f061210fa07dc2d03e09cbaffeea9ca6e3e /apps/chttpd/src | |
parent | c3bd782ff1b3eb91b238f5ca3436edafd017c61c (diff) |
my name is BigCouch
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] -> |