summaryrefslogtreecommitdiffstats
path: root/roseh.moe.go
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-11-15 09:52:14 -0800
committerRose Hogenson <rosehogenson@posteo.net>2025-11-15 09:52:14 -0800
commitc7e501977eaeb8744a4aa54c60335d338217dc7b (patch)
tree7c09c1cd0a231f7bb5650667d59bf947c41a81a4 /roseh.moe.go
parent6e22012d152974a3c2648726ce5c2fb3e6d5201f (diff)
downloadroseh.moe-c7e501977eaeb8744a4aa54c60335d338217dc7b.tar.zst
Remove debug
Diffstat (limited to 'roseh.moe.go')
-rw-r--r--roseh.moe.go3
1 files changed, 1 insertions, 2 deletions
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)