allowCors property

bool? allowCors
getter/setter pair

Allowing CORS, aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests.

The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.

Implementation

core.bool? allowCors;