diff options
| -rw-r--r-- | roseh.moe.go | 2 |
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) |
