aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 29e4c5c..d81d47e 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -81,6 +81,9 @@ pub struct MiniserveConfig {
/// Enable QR code display
pub show_qrcode: bool,
+ /// Show theme selector in frontend
+ pub show_change_theme: bool,
+
/// Enable file upload
pub file_upload: bool,
@@ -225,6 +228,7 @@ impl MiniserveConfig {
spa: args.spa,
overwrite_files: args.overwrite_files,
show_qrcode: args.qrcode,
+ show_change_theme: args.change_theme,
file_upload: args.file_upload,
uploadable_media_type,
tar_enabled: args.enable_tar,