corsProxyUrl
The corsProxyUrl
option allows using a custom CORS proxy server.
Options
Option | Type | Description |
---|---|---|
corsProxyUrl | string | The value can be the Redocly CORS proxy URL (https://cors.redoc.ly) or the URL of a custom CORS proxy server. |
Examples
Modify the value of the corsProxyUrl option in the Redocly configuration file.
redocly.yaml
openapi:
corsProxyUrl: https://cors.redoc.ly
Related options
- openapi - Learn more about using
openapi
configuration.