diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2020-10-02 00:48:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 00:48:16 +0000 |
commit | 39d7677f90d49af1b836f060787d8b357f36942d (patch) | |
tree | f8c76796852c7307c7e73ed26961a18d5e2cfb7c /src/auth.rs | |
parent | Merge pull request #384 from svenstaro/dependabot/cargo/chrono-0.4.19 (diff) | |
parent | more feedback (diff) | |
download | miniserve-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.rs | 5 |
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() } |