From 7b0005be9dd45a0ce3639a7f5db58c1d2df2e485 Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Fri, 27 Aug 2010 17:42:27 -0400 Subject: my name is BigCouch --- apps/chttpd/README.md | 4 ++-- apps/chttpd/src/chttpd_misc.erl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/chttpd') diff --git a/apps/chttpd/README.md b/apps/chttpd/README.md index 4b42264d..2c2a2cf9 100644 --- a/apps/chttpd/README.md +++ b/apps/chttpd/README.md @@ -1,6 +1,6 @@ ## chttpd -chttpd is a cluster-aware http layer for [CouchDB][1]. It is used in [cloudant-dbcore][2] as the http front-end. +chttpd is a cluster-aware http layer for [CouchDB][1]. It is used in [BigCouch][2] as the http front-end. ### Getting Started Dependencies: @@ -17,7 +17,7 @@ Build with rebar: * [info@cloudant.com][5] [1]: http://couchdb.apache.org -[2]: http://github.com/cloudant/dbcore +[2]: http://github.com/cloudant/bigcouch [3]: http://www.apache.org/licenses/LICENSE-2.0.html [4]: http://cloudant.com [5]: mailto:info@cloudant.com 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] -> -- cgit v1.2.3