mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
port upstream
This commit is contained in:
parent
e35d5f7cc7
commit
9af9eceb41
3 changed files with 26 additions and 20 deletions
|
@ -23,3 +23,7 @@ func (c *Context) Response() *http.Response {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *Context) Redirect(uri string, statusCode int) {
|
||||
http.Redirect(c.RespWriter, c.Req, uri, statusCode)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue