mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
Allow iframe.html without cors
This commit is contained in:
parent
38a9e80e47
commit
299d9bdd12
@ -142,6 +142,7 @@ export const init: ModuleFn = ({ store, provider, fullAPI }) => {
|
||||
}),
|
||||
fetch(`${url}/iframe.html`, {
|
||||
redirect: 'manual',
|
||||
cors: 'no-cors',
|
||||
credentials: 'omit',
|
||||
}),
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user