mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 10:55:34 +00:00
fix: cors issues from preview fixed by changing embedder policies (#1056)
This commit is contained in:
parent
6aaff63ca7
commit
3a298f1586
@ -24,6 +24,7 @@ if (!import.meta.env.SSR) {
|
||||
Promise.resolve()
|
||||
.then(() => {
|
||||
return WebContainer.boot({
|
||||
coep: 'credentialless',
|
||||
workdirName: WORK_DIR_NAME,
|
||||
forwardPreviewErrors: true, // Enable error forwarding from iframes
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user