aboutsummaryrefslogtreecommitdiffstats
path: root/src/auth.rs
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2020-10-02 00:48:16 +0000
committerGitHub <noreply@github.com>2020-10-02 00:48:16 +0000
commit39d7677f90d49af1b836f060787d8b357f36942d (patch)
treef8c76796852c7307c7e73ed26961a18d5e2cfb7c /src/auth.rs
parentMerge pull request #384 from svenstaro/dependabot/cargo/chrono-0.4.19 (diff)
parentmore feedback (diff)
downloadminiserve-39d7677f90d49af1b836f060787d8b357f36942d.tar.gz
miniserve-39d7677f90d49af1b836f060787d8b357f36942d.zip
Merge pull request #380 from ahti/master
client-side color-scheme handling
Diffstat (limited to 'src/auth.rs')
-rw-r--r--src/auth.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/auth.rs b/src/auth.rs
index e3eec89..a2dfe60 100644
--- a/src/auth.rs
+++ b/src/auth.rs
@@ -120,11 +120,12 @@ fn build_unauthorized_response(
&return_path,
None,
None,
- state.default_color_scheme,
- state.default_color_scheme,
false,
false,
&state.favicon_route,
+ &state.css_route,
+ &state.default_color_scheme,
+ &state.default_color_scheme_dark,
)
.into_string()
}