reformatted IP Ban page and shifted specific rendering to AmSendPageData

This commit is contained in:
2026-02-10 18:16:43 -07:00
parent 38c4b3f71e
commit 975265af58
5 changed files with 32 additions and 28 deletions
-1
View File
@@ -299,7 +299,6 @@ func JumpToShortcut(ctxt ui.AmContext) (string, any) {
}
scope, target := link.Classify()
if scope != "global" {
ctxt.SetRC(http.StatusNotFound)
return "error", echo.NewHTTPError(http.StatusNotFound, fmt.Sprintf("not found: %s", ctxt.URLParam("postlink")))
}
if err = link.VerifyNames(ctxt.Ctx()); err != nil {