commit bb8b43e59f7e68e90bf6933e9e4c61d8a6349874
parent ea50ac8e365a211e5cff6ca9f939b3ed3ff9c4aa
Author: Peter Kosyh <p.kosyh@gmail.com>
Date: Sat, 30 Jan 2021 10:09:10 +0000
Merge branch 'master' of https://github.com/gl00my/ii-go
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ii-node/web.go b/ii-node/web.go
@@ -1006,8 +1006,10 @@ func _handleWWW(ctx *WebContext, w http.ResponseWriter, r *http.Request) error {
q.Start = -PAGE_SIZE
if args[0] == "echo+topics" {
q.Repto = "!"
+ ctx.BasePath = "echo+topics/" + args[1]
+ } else {
+ ctx.BasePath = "echo/" + args[1]
}
- ctx.BasePath = "echo/" + args[1]
return www_query(ctx, w, r, q, page, rss)
} else if ii.IsEcho(args[0]) {
page := 1