From f9bd2d3e9229d8c12f8c2ad470ec62750198cdd8 Mon Sep 17 00:00:00 2001
From: Kid <44045911+kidonng@users.noreply.github.com>
Date: Mon, 3 Apr 2023 10:44:21 +0800
Subject: fileserver: Add color-scheme meta tag (#5475)

---
 modules/caddyhttp/fileserver/browse.html | 1 +
 1 file changed, 1 insertion(+)

(limited to 'modules/caddyhttp/fileserver')

diff --git a/modules/caddyhttp/fileserver/browse.html b/modules/caddyhttp/fileserver/browse.html
index 479ead2..c893b64 100644
--- a/modules/caddyhttp/fileserver/browse.html
+++ b/modules/caddyhttp/fileserver/browse.html
@@ -94,6 +94,7 @@
 	<head>
 		<title>{{html .Name}}</title>
 		<meta charset="utf-8">
+		<meta name="color-scheme" content="light dark">
 		<meta name="viewport" content="width=device-width, initial-scale=1.0">
 <style>
 * { padding: 0; margin: 0; box-sizing: border-box; }
-- 
cgit v1.2.3