From ced20d7fc3ee98005ea8a2d09d2a0d99361ff0a4 Mon Sep 17 00:00:00 2001 From: Ebus-at-dockstar Date: Thu, 18 Sep 2014 18:01:01 +0200 Subject: add /api/list --- datastore-leveldb/src/server.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'datastore-leveldb/src/server.cpp') diff --git a/datastore-leveldb/src/server.cpp b/datastore-leveldb/src/server.cpp index 83f4cdb..3fc0181 100644 --- a/datastore-leveldb/src/server.cpp +++ b/datastore-leveldb/src/server.cpp @@ -95,6 +95,9 @@ int main(int argc, char **argv) { web_handler.push_front(std::make_pair( web_handle_api_range_size_R, web_handle_api_range_size)); + web_handler.push_front(std::make_pair( + web_handle_api_list_R, + web_handle_api_list)); // Signals: handle C-c struct sigaction action; -- cgit v1.2.1