From 796e03648c42171f8313388c306e6b1a2bc0e0af Mon Sep 17 00:00:00 2001 From: Eason Lin Date: Wed, 28 Jun 2017 08:45:17 +0800 Subject: [PATCH] Remove unnecessary comments. --- cors.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cors.go b/cors.go index 16550f4..c2ea94a 100644 --- a/cors.go +++ b/cors.go @@ -13,8 +13,6 @@ type Config struct { AllowAllOrigins bool // AllowedOrigins is a list of origins a cross-domain request can be executed from. - // If the special "*" value is present in the list, all origins will be allowed. - // Default value is ["*"] AllowOrigins []string // AllowOriginFunc is a custom function to validate the origin. It take the origin @@ -28,8 +26,6 @@ type Config struct { // AllowedHeaders is list of non simple headers the client is allowed to use with // cross-domain requests. - // If the special "*" value is present in the list, all headers will be allowed. - // Default value is [] but "Origin" is always appended to the list. AllowHeaders []string // AllowCredentials indicates whether the request can include user credentials like