commit f935f5cf467239db1a40a81cc150ccb56157fc87
parent 07388d327f908ff2041753793b54cde35a6f9e41
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Sun, 27 Jan 2019 16:42:30 +0100
Remove local icon extractor
Diffstat:
2 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/.env.template b/.env.template
@@ -43,12 +43,6 @@
## It's recommended to also set 'ROCKET_CLI_COLORS=off'
# LOG_FILE=/path/to/log
-## Use a local favicon extractor
-## Set to false to use bitwarden's official icon servers
-## Set to true to use the local version, which is not as smart,
-## but it doesn't send the cipher domains to bitwarden's servers
-# LOCAL_ICON_EXTRACTOR=false
-
## Controls if new users can register
# SIGNUPS_ALLOWED=true
diff --git a/src/config.rs b/src/config.rs
@@ -56,7 +56,6 @@ make_config! {
extended_logging: bool,
log_file: Option<String>,
- local_icon_extractor: bool,
signups_allowed: bool,
invitations_allowed: bool,
admin_token: Option<String>,
@@ -167,7 +166,6 @@ impl Config {
extended_logging: get_env_or("EXTENDED_LOGGING", true),
log_file: get_env("LOG_FILE"),
- local_icon_extractor: get_env_or("LOCAL_ICON_EXTRACTOR", false),
signups_allowed: get_env_or("SIGNUPS_ALLOWED", true),
admin_token: get_env("ADMIN_TOKEN"),
invitations_allowed: get_env_or("INVITATIONS_ALLOWED", true),