From 119144cb2c1633284c6f29299f5aa6eea64f2c8c Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 28 Jun 2013 19:03:57 +0000 Subject: cethcan: add subcan.json path --- cethcan/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cethcan/http.c b/cethcan/http.c index 60e457c..8cb0958 100644 --- a/cethcan/http.c +++ b/cethcan/http.c @@ -204,6 +204,7 @@ void http_init(void) evhttp = evhttp_new(ev_base); evhttp_set_cb(evhttp, "/", http_json_basic, NULL); + evhttp_set_cb(evhttp, "/subcan.json", http_json_basic, NULL); evhttp_set_cb(evhttp, "/set", http_json_set, NULL); evhttp_set_cb(evhttp, "/longpoll", http_json_longpoll, NULL); evhttp_set_cb(evhttp, "/bump", http_json_bump, NULL); -- cgit v1.2.1