feat: add icon to OpenSearch Description XML
1 file changed, 12 insertions(+), 0 deletions(-)
changed files
M internal/server/mux.go → internal/server/mux.go
@@ -311,6 +311,12 @@ source.Importer.String(), source.Key, "search", ), + Image: opensearch.Image{ + Height: 32, + Width: 32, + Type: "image/x-icon", + Content: cfg.Web.BaseURL.JoinPath("favicon.ico").String(), + }, URL: opensearch.URL{ Method: "get", Type: "text/html",@@ -346,6 +352,12 @@ ShortName: "Searchix Combined", LongName: "Search nix options and packages with Searchix", Description: "Search nix options and packages with Searchix", SearchForm: cfg.Web.BaseURL.JoinPath(), + Image: opensearch.Image{ + Height: 32, + Width: 32, + Type: "image/x-icon", + Content: cfg.Web.BaseURL.JoinPath("favicon.ico").String(), + }, URL: opensearch.URL{ Method: "get", Type: "text/html",