UNPKG

@ory/client

Version:

OpenAPI client for @ory/client

23 lines (15 loc) 824 B
# ProjectCors ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **enabled** | **boolean** | Whether CORS is enabled for this endpoint. | [optional] [default to undefined] **origins** | **Array<string>** | The allowed origins. Use `*` to allow all origins. A wildcard can also be used in the subdomain, i.e. `https://_*.example.com` will allow all origins on all subdomains of `example.com`. | [optional] [default to undefined] ## Example ```typescript import { ProjectCors } from '@ory/client'; const instance: ProjectCors = { enabled, origins, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)