all repos — searchix @ 560b6350141050cd4b9aa5717acf5c241996a978

Search engine for NixOS, nix-darwin, home-manager and NUR users

fix: changing facets reverted to combined search

Alan Pearce
commit

560b6350141050cd4b9aa5717acf5c241996a978

parent

8a29e39f16bec9ff7d3c264173862acdcfa272c5

1 file changed, 1 insertion(+), 4 deletions(-)

changed files
M internal/server/mux.gointernal/server/mux.go
@@ -95,10 +95,7 @@ })
} for _, source := range cfg.Importer.Sources { - sh := handler.NewSourceHandler(source) - importerPath := path.Join("/", source.Importer.String(), source.Key) - - mux.Handle(importerPath+"/", http.StripPrefix(importerPath, sh)) + mux.Handle(source.LocalURL().String(), handler.NewSourceHandler(source)) } top := http.NewServeMux()