abouttreesummaryrefslogcommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2747fde..055fcca 100644
--- a/src/main.c
+++ b/src/main.c
@@ -443,7 +443,7 @@ int main(int argc, char *argv[])
struct mg_mgr mgr;
mg_mgr_init(&mgr);
- mg_http_listen(&mgr, "http://0.0.0.0:8000", fn, &mgr);
+ mg_http_listen(&mgr, "http://[::]:8000", fn, &mgr);
while (1)
mg_mgr_poll(&mgr, 1000);
mg_mgr_free(&mgr);