7;t played around with it yet, but have you tried to separately
> register /something/ ?
> >>
> >> mux := http.NewServeMux()
> >> mux.HandleFunc("/something/", func...)
> >> mux.HandleFunc("/something/{id}/{$}", func...)
> >>
> >> On We
Hello,
I noticed if you set up a route like /something/{id}/{$}, it results in an
infinite loop if I navigate to /someting/ (with the trailing slash). I got
a redirect to Location: /something/, and so on. Finally the page breaks
after multiple rounds.
Example:
mux := http.NewServeMux()
mux.Han