summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2026-08-21 20:09:01 -0700
committerRose Hogenson <rosehogenson@posteo.net>2026-08-21 20:09:01 -0700
commita883e3c1996ec080bc03d78e16248a9e06c94ea1 (patch)
tree398616c33e1b3378d0cd82d3a7bbd4eadf9910cc
parentf56b71bebc74d8588a675d2e508e7ada21a05676 (diff)
downloadroseh.moe-a883e3c1996ec080bc03d78e16248a9e06c94ea1.tar.zst
Validate Host
-rw-r--r--roseh.moe.go2
1 files changed, 1 insertions, 1 deletions
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)