about summary refs log tree commit diff stats
path: root/internal
diff options
context:
space:
mode:
authorAlan Pearce2024-07-13 16:49:37 +0200
committerAlan Pearce2024-07-13 16:49:37 +0200
commitc4f8adb01ae4f74ed648ac0d58d423857c4d168a (patch)
treeed4628a3b41c41e73c69ba2377ed749ad8065fba /internal
parent56f1c5d386db3f19b4d5c645ece83a25d9a58759 (diff)
downloadsearchix-c4f8adb01ae4f74ed648ac0d58d423857c4d168a.tar.lz
searchix-c4f8adb01ae4f74ed648ac0d58d423857c4d168a.tar.zst
searchix-c4f8adb01ae4f74ed648ac0d58d423857c4d168a.zip
refactor: ignore unused variable
Diffstat (limited to 'internal')
-rw-r--r--internal/server/mux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/mux.go b/internal/server/mux.go
index e869e14..66da7b5 100644
--- a/internal/server/mux.go
+++ b/internal/server/mux.go
@@ -314,7 +314,7 @@ func NewMux(
 
 	mux.HandleFunc("/options/{source}/opensearch.xml", createOpenSearchXMLHandler(config.Options))
 	mux.HandleFunc("/packages/{source}/opensearch.xml", createOpenSearchXMLHandler(config.Packages))
-	mux.HandleFunc("/all/opensearch.xml", func(w http.ResponseWriter, r *http.Request) {
+	mux.HandleFunc("/all/opensearch.xml", func(w http.ResponseWriter, _ *http.Request) {
 		w.Header().Add("Cache-Control", "max-age=604800")
 		w.Header().Set("Content-Type", "application/opensearchdescription+xml")
 		osd := &opensearch.Description{