fix: cors issues from preview fixed by changing embedder policies (#1056)

This commit is contained in:
Eduard Ruzga
2025-01-12 18:28:06 +02:00
committed by GitHub
parent 6aaff63ca7
commit 3a298f1586

View File

@@ -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
});