skiaserve: Enable /cmd endpoint.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1639403002

Review URL: https://codereview.chromium.org/1639403002
This commit is contained in:
jcgregorio 2016-01-27 12:15:38 -08:00 committed by Commit bot
parent 553431240b
commit 9ce4110a29

View File

@ -246,7 +246,7 @@ public:
fHandlers.push_back({MHD_HTTP_METHOD_GET, "/", rootHandler});
fHandlers.push_back({MHD_HTTP_METHOD_POST, "/new", postHandler});
fHandlers.push_back({MHD_HTTP_METHOD_GET, "/img", imgHandler});
//fHandlers.push_back({MHD_HTTP_METHOD_GET, "/cmd", infoHandler});
fHandlers.push_back({MHD_HTTP_METHOD_GET, "/cmd", infoHandler});
}
// This is clearly not efficient for a large number of urls and handlers