mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-24 19:32:07 +00:00
Add server-side proxy for Scalar API client to bypass CORS (#4050)
This commit is contained in:
@@ -17,6 +17,12 @@ export interface OpenAPICustomSpecProperties {
|
||||
*/
|
||||
'x-hideTryItPanel'?: boolean;
|
||||
|
||||
/**
|
||||
* If `true`, the Scalar API client will proxy requests through the server
|
||||
* to avoid CORS issues.
|
||||
*/
|
||||
'x-enable-proxy'?: boolean;
|
||||
|
||||
/**
|
||||
* Description in HTML format.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user