undo comments, cross support for wildcard origin
This commit is contained in:
parent
1238974274
commit
e641d4ab82
1
cors.go
1
cors.go
@ -13,6 +13,7 @@ type Config struct {
|
|||||||
AllowAllOrigins bool
|
AllowAllOrigins bool
|
||||||
|
|
||||||
// AllowedOrigins is a list of origins a cross-domain request can be executed from.
|
// 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 []
|
// Default value is []
|
||||||
AllowOrigins []string
|
AllowOrigins []string
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user