mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-25 03:29:00 +08:00
Formatted example
This commit is contained in:
parent
c432b783fb
commit
e528093027
@ -13,6 +13,7 @@ Embedding Mongoose is done in two steps:
|
||||
Here's a minimal application `app.c` that embeds mongoose:
|
||||
|
||||
#include "mongoose.h"
|
||||
|
||||
int main(void) {
|
||||
struct mg_server *server = mg_create_server(NULL);
|
||||
mg_set_option(server, "document_root", "."); // Serve current directory
|
||||
|
Loading…
Reference in New Issue
Block a user