CORS Error - warning: incompatible types

It looks like origin should be a list, i.e.

 plug CORSPlug, origin: ["*"]