summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2013-06-28 19:03:57 +0000
committerroot <root@beaglebone.local.sublab.org>2013-06-28 19:03:57 +0000
commit119144cb2c1633284c6f29299f5aa6eea64f2c8c (patch)
tree2383cb1c887da10c14ba44d5754ef67bd440e503
parentb9041388478bd29c15d35764c2ee20b6bdec6d9e (diff)
cethcan: add subcan.json path
-rw-r--r--cethcan/http.c1
1 files changed, 1 insertions, 0 deletions
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);