allowOrigins property

List<StringMatch>? allowOrigins
final

String patterns that match allowed origins. An origin is allowed if any of the string matchers match. If a match is found, then the outgoing Access-Control-Allow-Origin would be set to the origin as provided by the client.

Implementation

final List<StringMatch>? allowOrigins;