mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -05:00
chore: remove repetitive word (#6193)
Signed-off-by: sellskin <mydesk@yeah.net>
This commit is contained in:
parent
db9d167354
commit
0dd0487eba
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ func (TemplateContext) funcEnv(varName string) string {
|
|||
return os.Getenv(varName)
|
||||
}
|
||||
|
||||
// Cookie gets the value of a cookie with name name.
|
||||
// Cookie gets the value of a cookie with name.
|
||||
func (c TemplateContext) Cookie(name string) string {
|
||||
cookies := c.Req.Cookies()
|
||||
for _, cookie := range cookies {
|
||||
|
|
Loading…
Reference in a new issue