From 3b99a05b2831bf7846cc542287538ff0a8b57aa0 Mon Sep 17 00:00:00 2001 From: Kumi Date: Wed, 18 Sep 2024 14:57:07 +0200 Subject: [PATCH] feat(config): set default URL for modified source code Added a default URL for `modified_source_code_url` property to ensure AGPL compliance by displaying the source modification link in the footer. This change helps streamline configuration and maintains legal transparency. --- src/invidious/config.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/config.cr b/src/invidious/config.cr index c4ddcdb3..62ed3b84 100644 --- a/src/invidious/config.cr +++ b/src/invidious/config.cr @@ -113,7 +113,7 @@ class Config # URL to the modified source code to be easily AGPL compliant # Will display in the footer, next to the main source code link - property modified_source_code_url : String? = nil + property modified_source_code_url : String? = "https://git.private.coffee/PrivateCoffee/invidious" # Connect to YouTube over 'ipv6', 'ipv4'. Will sometimes resolve fix issues with rate-limiting (see https://github.com/ytdl-org/youtube-dl/issues/21729) @[YAML::Field(converter: Preferences::FamilyConverter)]