aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main-afb-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main-afb-daemon.c b/src/main-afb-daemon.c
index a8d99ff5..f9c4ed4e 100644
--- a/src/main-afb-daemon.c
+++ b/src/main-afb-daemon.c
@@ -298,7 +298,7 @@ static int init_alias(void *closure, const char *spec)
*path++ = 0;
INFO("Alias for url=%s to path=%s", spec, path);
return afb_hsrv_add_alias(hsrv, spec, afb_common_rootdir_get_fd(), path,
- 0, 0);
+ 0, 1);
}
static int init_http_server(struct afb_hsrv *hsrv)