Add comment in example
@@ -13,6 +13,8 @@ import (
func main() {
app := iris.New()
+
+ // `crs := cors.NewAllowAllPartyMiddleware()`, or:
crs := cors.NewPartyMiddleware(cors.Options{
AllowedOrigins: []string{"*"}, // allows everything, use that to change the hosts.
AllowedMethods: router.AllMethods[:],
