Skip to content

Commit 1597bae

Browse files
authored
fix(demo): Get CORS proxy to work in Chrome on Windows (#2220)
1 parent 12be1bc commit 1597bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class DemoApp extends React.Component<
8686
let proxiedUrl = specUrl;
8787
if (specUrl !== DEFAULT_SPEC) {
8888
proxiedUrl = cors
89-
? '\\\\cors.redoc.ly/' + new URL(specUrl, window.location.href).href
89+
? 'https://cors.redoc.ly/' + new URL(specUrl, window.location.href).href
9090
: specUrl;
9191
}
9292
return (

0 commit comments

Comments
 (0)