Redirection
Simple call ctx.Redirect
with the path as an argument. By default Golf uses a 302 redirection:
ctx.Redirect("/foo")
If you want a 302 Redirection, please use ctx.Redirect301
:
ctx.Redirect301("/foo")
Updated less than a minute ago
Simple call ctx.Redirect
with the path as an argument. By default Golf uses a 302 redirection:
ctx.Redirect("/foo")
If you want a 302 Redirection, please use ctx.Redirect301
:
ctx.Redirect301("/foo")
Updated less than a minute ago