@marcel91200 / caddy Mirror · read-only / commits / aff88d4b
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 11, 23:30 UTC

chore: fix function in comment (#7121)

Signed-off-by: bytesingsong <bytesing@icloud.com>

bytesingsong committed Jul 12, 2025 at 19:54 UTC aff88d4b260515b24895aa29e987d40ada3b69e0
2 files changed +2 -2
modules/caddyhttp/matchers.go
+1 -1
@@ -1546,7 +1546,7 @@ func (mre *MatchRegexp) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
1546 return nil
1547 }
1548
1549 -// ParseCaddyfileNestedMatcher parses the Caddyfile tokens for a nested
1549 +// ParseCaddyfileNestedMatcherSet parses the Caddyfile tokens for a nested
1550 // matcher set, and returns its raw module map value.
1551 func ParseCaddyfileNestedMatcherSet(d *caddyfile.Dispenser) (caddy.ModuleMap, error) {
1552 matcherMap := make(map[string]any)
modules/caddyhttp/templates/tplcontext.go
+1 -1
@@ -380,7 +380,7 @@ func (TemplateContext) funcMarkdown(input any) (string, error) {
380 return buf.String(), nil
381 }
382
383 -// splitFrontMatter parses front matter out from the beginning of input,
383 +// funcSplitFrontMatter parses front matter out from the beginning of input,
384 // and returns the separated key-value pairs and the body/content. input
385 // must be a "stringy" value.
386 func (TemplateContext) funcSplitFrontMatter(input any) (parsedMarkdownDoc, error) {