mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 07:28:13 +08:00
Revert "Update comment for the path of rest API"
This commit is contained in:
parent
1f89dc47cb
commit
5aa6c15c76
@ -10,7 +10,7 @@ static const char *s_web_root = ".";
|
||||
|
||||
// This RESTful server implements the following endpoints:
|
||||
// /websocket - upgrade to Websocket, and implement websocket echo server
|
||||
// /rest - respond with JSON string {"result": 123}
|
||||
// /api/rest - respond with JSON string {"result": 123}
|
||||
// any other URI serves static files from s_web_root
|
||||
static void fn(struct mg_connection *c, int ev, void *ev_data, void *fn_data) {
|
||||
if (ev == MG_EV_OPEN) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user