Fix reverse boltdb list and tests
This commit is contained in:
@@ -96,8 +96,12 @@ func (s *Server) feed(w http.ResponseWriter, r *http.Request) {
|
||||
case "tag":
|
||||
s.getFeedTag(w, r)
|
||||
default:
|
||||
r.URL.Path = v + "/" + r.URL.Path
|
||||
s.getFeed(w, r)
|
||||
if v == "" {
|
||||
s.bad(w, r)
|
||||
} else {
|
||||
r.URL.Path = v + "/" + r.URL.Path
|
||||
s.getFeed(w, r)
|
||||
}
|
||||
}
|
||||
case "POST":
|
||||
s.newFeed(w, r)
|
||||
|
||||
Reference in New Issue
Block a user