From 6af50e7ec346fc0c9a5ec88b3a345b8022d45eee Mon Sep 17 00:00:00 2001 From: RiX Date: Sun, 3 Dec 2023 20:55:37 +0100 Subject: [PATCH] Update and rename login_only.patch to private_instance.patch Source: https://github.com/iv-org/invidious/pull/4259 --- .../{login_only.patch => private_instance.patch} | 14 ++++++++++++++ 1 file changed, 14 insertions(+) rename patches/{login_only.patch => private_instance.patch} (90%) diff --git a/patches/login_only.patch b/patches/private_instance.patch similarity index 90% rename from patches/login_only.patch rename to patches/private_instance.patch index d73abb4..0ffcc31 100644 --- a/patches/login_only.patch +++ b/patches/private_instance.patch @@ -1,3 +1,14 @@ +From f56ad19fef034e3b8ee43d198f6cbeacc03bbd98 Mon Sep 17 00:00:00 2001 +From: rix +Date: Sun, 3 Dec 2023 20:54:07 +0100 +Subject: [PATCH] support for private instances #4259 + +--- + config/config.example.yml | 20 +++++++++++++-- + src/invidious/config.cr | 2 ++ + src/invidious/routes/before_all.cr | 41 +++++++++++++++++++++--------- + 3 files changed, 49 insertions(+), 14 deletions(-) + diff --git a/config/config.example.yml b/config/config.example.yml index b44fcc0e..39c72785 100644 --- a/config/config.example.yml @@ -115,3 +126,6 @@ index 396840a4..8120ae15 100644 dark_mode = convert_theme(env.params.query["dark_mode"]?) || preferences.dark_mode.to_s thin_mode = env.params.query["thin_mode"]? || preferences.thin_mode.to_s +-- +2.39.3 (Apple Git-145) +