CORSConfig constructor
const
CORSConfig({})
Implementation
const CORSConfig({
this.enabled = true,
this.origin,
this.methods,
this.headers,
this.exposeHeaders,
this.credentials,
this.maxAge,
});
const CORSConfig({
this.enabled = true,
this.origin,
this.methods,
this.headers,
this.exposeHeaders,
this.credentials,
this.maxAge,
});