From c74007c017dd80afca424521ad9edd06e0bd9081 Mon Sep 17 00:00:00 2001 From: fernvenue Date: Sun, 11 Sep 2022 12:16:06 +0800 Subject: [PATCH] Update darkhttpd.c Open link in new tab and keep the list. --- darkhttpd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/darkhttpd.c b/darkhttpd.c index 350a56a..616e632 100644 --- a/darkhttpd.c +++ b/darkhttpd.c @@ -1985,7 +1985,11 @@ static void generate_dir_listing(struct connection *conn, const char *path, urlencode(list[i]->name, safe_url); - append(listing, "is_dir) + append(listing, "is_dir) append(listing, "/");