From 6257a585e449b97a6b520bbd86575c4aa9f7c596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 18 Jul 2018 01:33:20 +0200 Subject: [PATCH] Fix typo in cors.go (#127) --- cors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cors.go b/cors.go index 16efb8a..1acf80d 100644 --- a/cors.go +++ b/cors.go @@ -119,7 +119,7 @@ func (ch *cors) ServeHTTP(w http.ResponseWriter, r *http.Request) { } else { for _, o := range ch.allowedOrigins { // A configuration of * is different than explicitly setting an allowed - // origin. Returning arbitrary origin headers an an access control allow + // origin. Returning arbitrary origin headers in an access control allow // origin header is unsafe and is not required by any use case. if o == corsOriginMatchAll { returnOrigin = "*"