Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

filer: readonly handle static resources

Chris Lu85554bea3815
diff --git a/weed/server/filer_server.go b/weed/server/filer_server.go
index b11448db40..461c08aad7 100644
--- a/weed/server/filer_server.go
+++ b/weed/server/filer_server.go
@@ -126,6 +126,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
defaultMux.HandleFunc("/", fs.filerHandler)
}
if defaultMux != readonlyMux {
+ handleStaticResources(readonlyMux)
readonlyMux.HandleFunc("/", fs.readonlyFilerHandler)
}