chore: enable untrustedSpec in demo

This commit is contained in:
Roman Hotsiy 2020-04-27 19:58:03 +03:00
parent 63ec3d120c
commit 40a4e5fa47
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -98,7 +98,10 @@ class DemoApp extends React.Component<
height="30px"
/>
</Heading>
<RedocStandalone specUrl={proxiedUrl} options={{ scrollYOffset: 'nav' }} />
<RedocStandalone
specUrl={proxiedUrl}
options={{ scrollYOffset: 'nav', untrustedSpec: true }}
/>
</>
);
}