fix: use single Preferences handler with method check instead of dead POST route
This commit is contained in:
parent
70818558cd
commit
0afcf509c3
2 changed files with 7 additions and 14 deletions
|
|
@ -85,7 +85,6 @@ func main() {
|
|||
mux.HandleFunc("/search", h.Search)
|
||||
mux.HandleFunc("/autocompleter", h.Autocompleter)
|
||||
mux.HandleFunc("/preferences", h.Preferences)
|
||||
mux.HandleFunc("POST /preferences", h.PreferencesPOST)
|
||||
mux.HandleFunc("/opensearch.xml", h.OpenSearch(cfg.Server.BaseURL))
|
||||
|
||||
// Serve embedded static files (CSS, JS, images).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue