From b5dbb95b47a916b9bd77c1327c2ba3fa2ae71717 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Sun, 18 May 2025 17:56:52 -0400 Subject: [PATCH] remove alternative domains --- config/config.example.yml | 10 ---------- src/invidious/config.cr | 2 -- 2 files changed, 12 deletions(-) diff --git a/config/config.example.yml b/config/config.example.yml index c3a9957a..8d3e6212 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -157,16 +157,6 @@ db: ## domain: -## -## Alternative domains. You can add other domains if you -## serve invidious on more than one domain, like Tor -## and I2P addresses. -## -## Accepted values: an array of fully qualified domain names (FQDN) -## Default: -## -#alternative_domains: [] - ## ## Tell Invidious that it is behind a proxy that provides only ## HTTPS, so all links must use the https:// scheme. This diff --git a/src/invidious/config.cr b/src/invidious/config.cr index da83a552..4d69854c 100644 --- a/src/invidious/config.cr +++ b/src/invidious/config.cr @@ -115,8 +115,6 @@ class Config property hmac_key : String = "" # Domain to be used for links to resources on the site where an absolute URL is required property domain : String? - # Alternative domains. You can add other domains, like TOR and I2P addresses - property alternative_domains : Array(String) = [] of String # Subscribe to channels using PubSubHubbub (requires domain, hmac_key) property use_pubsub_feeds : Bool | Int32 = false property popular_enabled : Bool = true