mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 00:26:34 +03:00
chore: change cors url in the demo
This commit is contained in:
parent
ece0f5a0cb
commit
f944da0e7d
|
@ -77,7 +77,7 @@ class DemoApp extends React.Component<
|
|||
let proxiedUrl = specUrl;
|
||||
if (specUrl !== DEFAULT_SPEC) {
|
||||
proxiedUrl = cors
|
||||
? '\\\\cors.apis.guru/' + urlResolve(window.location.href, specUrl)
|
||||
? '\\\\cors.redoc.ly/' + urlResolve(window.location.href, specUrl)
|
||||
: specUrl;
|
||||
}
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue
Block a user