From 85554bea3815ffc69bed6a3d45f4e3a64c3fd48b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 27 Nov 2020 13:42:14 -0800 Subject: [PATCH] filer: readonly handle static resources fix https://github.com/chrislusf/seaweedfs/issues/1641 --- weed/server/filer_server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/server/filer_server.go b/weed/server/filer_server.go index b11448db4..461c08aad 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) }