Commit e5280930 authored by Sergey Lyubka's avatar Sergey Lyubka

Formatted example

parent c432b783
...@@ -13,6 +13,7 @@ Embedding Mongoose is done in two steps: ...@@ -13,6 +13,7 @@ Embedding Mongoose is done in two steps:
Here's a minimal application `app.c` that embeds mongoose: Here's a minimal application `app.c` that embeds mongoose:
#include "mongoose.h" #include "mongoose.h"
int main(void) { int main(void) {
struct mg_server *server = mg_create_server(NULL); struct mg_server *server = mg_create_server(NULL);
mg_set_option(server, "document_root", "."); // Serve current directory mg_set_option(server, "document_root", "."); // Serve current directory
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment