summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);