commit: 92e9fdd3118ff831a9539693af848610649ed642
parent 3047889a42d3d1313176fad607225cbc470406e9
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 8 Apr 2017 17:51:33 +0200
stagit-index.c: Let HTTP server provide default index
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/stagit-index.c b/stagit-index.c
@@ -119,7 +119,8 @@ writelog(FILE *fp)
fputs("<tr><td><a href=\"", fp);
xmlencode(fp, stripped_name, strlen(stripped_name));
- fputs("/log.html\">", fp);
+ /*fputs("/log.html\">", fp); Let http server set default index */
+ fputs("/\">", fp);
xmlencode(fp, stripped_name, strlen(stripped_name));
fputs("</a></td><td>", fp);
xmlencode(fp, description, strlen(description));