Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 12, 14:30 UTC
chore: remove repetitive word (#6193)
Signed-off-by: sellskin <mydesk@yeah.net>
sellskin committed
Mar 25, 2024 at 23:05 UTC
0dd0487eba1592b19cb2260fe247b7d375301fe5
1 file changed
+1
-1
modules/caddyhttp/templates/tplcontext.go
+1
-1
@@ -257,7 +257,7 @@ func (TemplateContext) funcEnv(varName string) string {
257
return os.Getenv(varName)
258
}
259
260
-// Cookie gets the value of a cookie with name name.
260
+// Cookie gets the value of a cookie with name.
261
func (c TemplateContext) Cookie(name string) string {
262
cookies := c.Req.Cookies()
263
for _, cookie := range cookies {