From 1990aee864ab4224d5437387161daa71a5d900f7 Mon Sep 17 00:00:00 2001 From: decho Date: Sun, 3 Jan 2021 21:48:10 +0600 Subject: [PATCH] directory listing: Send viewport meta tag --- darkhttpd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/darkhttpd.c b/darkhttpd.c index f6b26b0..e15d8de 100644 --- a/darkhttpd.c +++ b/darkhttpd.c @@ -1865,7 +1865,10 @@ static void generate_dir_listing(struct connection *conn, const char *path) { listing = make_apbuf(); append(listing, "\n\n "); append(listing, conn->url); - append(listing, "\n\n\n

"); + append(listing, + "\n" + "\n" + "\n\n

"); append(listing, conn->url); append(listing, "

\n
\n");