From c7e501977eaeb8744a4aa54c60335d338217dc7b Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 15 Nov 2025 09:52:14 -0800 Subject: Remove debug --- roseh.moe.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'roseh.moe.go') diff --git a/roseh.moe.go b/roseh.moe.go index 2092f5c..5c88422 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -595,8 +595,7 @@ type jellyfinReverseProxy struct { func (p *jellyfinReverseProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) { if !cookieAuth(w, r) { - // redirectLogin(w, r, "https://cinema.roseh.moe") - http.Error(w, "invalid cookie", http.StatusUnauthorized) + redirectLogin(w, r, "https://cinema.roseh.moe") return } p.proxy.ServeHTTP(w, r) -- cgit v1.3.1