diff --git a/cfgerrors/cfgerrors.go b/cfgerrors/cfgerrors.go index ca3b4e1..cda3ffb 100644 --- a/cfgerrors/cfgerrors.go +++ b/cfgerrors/cfgerrors.go @@ -97,7 +97,7 @@ func (err *MaxAgeOutOfBoundsError) Error() string { return fmt.Sprintf(tmpl, err.Value, err.Default, err.Max, err.Disable) } -// A PreflightSuccessStatusOutOfBoundsError indicates a preflight-sucess status +// A PreflightSuccessStatusOutOfBoundsError indicates a preflight-success status // that's either too low or too high. // // For more details, see [github.com/jub0bs/cors.Config.PreflightSuccessStatus].