From f935f5cf467239db1a40a81cc150ccb56157fc87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Sun, 27 Jan 2019 16:42:30 +0100 Subject: [PATCH] Remove local icon extractor --- .env.template | 6 ------ src/config.rs | 2 -- 2 files changed, 8 deletions(-) diff --git a/.env.template b/.env.template index 705e17b..c250f30 100644 --- 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 index faad46a..dfa2826 100644 --- a/src/config.rs +++ b/src/config.rs @@ -56,7 +56,6 @@ make_config! { extended_logging: bool, log_file: Option, - local_icon_extractor: bool, signups_allowed: bool, invitations_allowed: bool, admin_token: Option, @@ -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),