Although it is undocumented, the new location for /_config (at least for a server running locally) is /_node/couchdb@localhost/_config. If there is a cluster set up, each individual node gets its own config address. As such, running server.config() here produces an error. Maybe adding an extra, optional node argument would be the best solution.
Although it is undocumented, the new location for /_config (at least for a server running locally) is /_node/couchdb@localhost/_config. If there is a cluster set up, each individual node gets its own config address. As such, running server.config() here produces an error. Maybe adding an extra, optional node argument would be the best solution.