From aada4603a84aa033e66a11200ba1fbbb70ac1b2c Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Sun, 3 Oct 2021 22:02:07 +0200 Subject: [PATCH] Rename option 'source_code_url' to 'modified_source_code_url' --- config/config.example.yml | 2 +- src/invidious/helpers/helpers.cr | 2 +- src/invidious/views/template.ecr | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/config.example.yml b/config/config.example.yml index 12560528..8bb19fcc 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -439,7 +439,7 @@ feed_threads: 1 ## Accepted values: a string ## Default: ## -#source_code_url: "" +#modified_source_code_url: "" diff --git a/src/invidious/helpers/helpers.cr b/src/invidious/helpers/helpers.cr index a4f3ad9c..779e0ffb 100644 --- a/src/invidious/helpers/helpers.cr +++ b/src/invidious/helpers/helpers.cr @@ -99,7 +99,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 source_code_url : String? = nil + property modified_source_code_url : String? = nil @[YAML::Field(converter: Preferences::FamilyConverter)] property force_resolve : Socket::Family = Socket::Family::UNSPEC # Connect to YouTube over 'ipv6', 'ipv4'. Will sometimes resolve fix issues with rate-limiting (see https://github.com/ytdl-org/youtube-dl/issues/21729) diff --git a/src/invidious/views/template.ecr b/src/invidious/views/template.ecr index 12381cf7..b7020598 100644 --- a/src/invidious/views/template.ecr +++ b/src/invidious/views/template.ecr @@ -119,9 +119,9 @@