From e641d4ab82010a260e186dcc4237cb693fd49653 Mon Sep 17 00:00:00 2001 From: Eason Lin Date: Mon, 3 Jul 2017 00:16:58 +0800 Subject: [PATCH] undo comments, cross support for wildcard origin --- cors.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cors.go b/cors.go index 6284302..9cd1a2c 100644 --- a/cors.go +++ b/cors.go @@ -13,6 +13,7 @@ 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