From a883e3c1996ec080bc03d78e16248a9e06c94ea1 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Fri, 21 Aug 2026 20:09:01 -0700 Subject: Validate Host --- roseh.moe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roseh.moe.go') diff --git a/roseh.moe.go b/roseh.moe.go index cb5c8d7..55761fd 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -1083,7 +1083,7 @@ func main() { apiMux.HandleFunc("PUT /api/wormhole/{name}", wormholeAPIUpload) mux.Handle("/api/", apiMux) mux.HandleFunc("/", notFound) - http.Handle("/", http.NewCrossOriginProtection().Handler(&gzipHandler{mux})) + http.Handle(*domain+"/", http.NewCrossOriginProtection().Handler(&gzipHandler{mux})) jellyfinURL, err := url.Parse("http://127.0.0.1:8096") if err != nil { log.Fatal(err) -- cgit v1.3.1