Skip to content

Commit 3a298f1

Browse files
authored
fix: cors issues from preview fixed by changing embedder policies (#1056)
1 parent 6aaff63 commit 3a298f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/lib/webcontainer/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ if (!import.meta.env.SSR) {
2424
Promise.resolve()
2525
.then(() => {
2626
return WebContainer.boot({
27+
coep: 'credentialless',
2728
workdirName: WORK_DIR_NAME,
2829
forwardPreviewErrors: true, // Enable error forwarding from iframes
2930
});

0 commit comments

Comments
 (0)