From da3bbc5206cfaf050920249ebfa616948d3909c6 Mon Sep 17 00:00:00 2001 From: Shawn Smith Date: Wed, 7 May 2014 21:50:48 +0900 Subject: [PATCH] Fix typo --- http/cors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/cors.go b/http/cors.go index 16e616eed..d6b11140e 100644 --- a/http/cors.go +++ b/http/cors.go @@ -56,7 +56,7 @@ func (h *CORSHandler) addHeader(w http.ResponseWriter, origin string) { w.Header().Add("Access-Control-Allow-Origin", origin) } -// ServeHTTP adds the correct CORS headers based on the origin and returns immediatly +// ServeHTTP adds the correct CORS headers based on the origin and returns immediately // with a 200 OK if the method is OPTIONS. func (h *CORSHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { // Write CORS header.