aboutsummaryrefslogtreecommitdiffstats
path: root/src/auth.rs
diff options
context:
space:
mode:
authorLukas Stabe <lukas@stabe.de>2020-10-01 16:08:05 +0000
committerLukas Stabe <lukas@stabe.de>2020-10-01 16:08:05 +0000
commit47895cad827180787a8f305ddac0372d2dbd266a (patch)
treeb317c8e8f727ecee75a9e69c224b6f67acf1b4c2 /src/auth.rs
parentfix build.rs rerun-if-changed (diff)
downloadminiserve-47895cad827180787a8f305ddac0372d2dbd266a.tar.gz
miniserve-47895cad827180787a8f305ddac0372d2dbd266a.zip
restore default theme cli option and add default theme dark option
Diffstat (limited to '')
-rw-r--r--src/auth.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/auth.rs b/src/auth.rs
index 3233e22..a2dfe60 100644
--- a/src/auth.rs
+++ b/src/auth.rs
@@ -124,6 +124,8 @@ fn build_unauthorized_response(
false,
&state.favicon_route,
&state.css_route,
+ &state.default_color_scheme,
+ &state.default_color_scheme_dark,
)
.into_string()
}