From fdcf4f9773b8d459d3ec085a8c91b34fcd17803d Mon Sep 17 00:00:00 2001 From: Bobby DeSimone Date: Thu, 12 Dec 2019 11:08:12 -1000 Subject: [PATCH] fix typo (#87) s/endpoing/endpoint --- cors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cors.go b/cors.go index ac3b0bb..b9e61ae 100644 --- a/cors.go +++ b/cors.go @@ -384,7 +384,7 @@ func (c *Cors) isOriginAllowed(r *http.Request, origin string) bool { } // isMethodAllowed checks if a given method can be used as part of a cross-domain request -// on the endpoing +// on the endpoint func (c *Cors) isMethodAllowed(method string) bool { if len(c.allowedMethods) == 0 { // If no method allowed, always return false, even for preflight request