openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b03eaef1d96a13ef9644c48347b027e6f11dcc54
parent 66cd0837d3c2837fad1d3a703e902abc060e4618
Author: Peter Kosyh <p.kosyh@gmail.com>
Date:   Sat, 30 Jan 2021 13:08:48 +0300

fix in echo+toppics

Diffstat:
Mii-node/web.go | 4+++-
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