feat: add GET and POST /preferences route
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b4053b7f98
commit
70818558cd
2 changed files with 25 additions and 0 deletions
|
|
@ -84,6 +84,8 @@ func main() {
|
|||
mux.HandleFunc("/healthz", h.Healthz)
|
||||
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