summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKid <44045911+kidonng@users.noreply.github.com>2023-04-03 10:44:21 +0800
committerGitHub <noreply@github.com>2023-04-02 22:44:21 -0400
commitf9bd2d3e9229d8c12f8c2ad470ec62750198cdd8 (patch)
tree0708aaad129edcc8b235ec68097b74cd75c3cdaa
parentb1366c7e4615139e1a7f891c65053361e9959a43 (diff)
fileserver: Add color-scheme meta tag (#5475)
-rw-r--r--modules/caddyhttp/fileserver/browse.html1
1 files changed, 1 insertions, 0 deletions
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; }