Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
Update and rename login_only.patch to private_instance.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
rix1337 authored Dec 3, 2023
1 parent 914fe59 commit 6af50e7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions patches/login_only.patch → patches/private_instance.patch
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
From f56ad19fef034e3b8ee43d198f6cbeacc03bbd98 Mon Sep 17 00:00:00 2001
From: rix <rix@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
Expand Down Expand Up @@ -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)

0 comments on commit 6af50e7

Please sign in to comment.