subrouters

This commit is contained in:
2026-01-12 04:54:53 -07:00
parent a72fd9e0e8
commit 0d6af06d65
27 changed files with 950 additions and 174 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ func Write(w http.ResponseWriter, r *http.Request, res Response) {
hdrs.Add("Content-Type", ct)
}
if code, to, ok := res.getRedirect(); ok {
if code, to, ok := res.GetRedirect(); ok {
http.Redirect(w, r, to, code.Int())
return
}