mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-30 12:50:58 +00:00
Ready to release
This commit is contained in:
1 parent
292c66e25c
commit
4236405b90
4 files changed
+5
-5
No files matched your search
@@ -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
|
||||
// /api/rest - respond with JSON string {"result": 123}
|
||||
// /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) {
|
||||
|
||||
Reference in new issue
Block a user