Skip to content

Conversation

jrvidal
Copy link
Contributor

@jrvidal jrvidal commented Oct 27, 2023

No description provided.

@@ -12,6 +12,6 @@
"vite": "^4.1.0"
},
"dependencies": {
"@webcontainer/api": "^1.1.3"
"@webcontainer/api": "^1.1.8"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⭐ New version

@@ -12,7 +14,7 @@ window.addEventListener('load', async () => {
});

// Call only once
webcontainerInstance = await WebContainer.boot();
webcontainerInstance = await WebContainer.boot({ coep: 'credentialless'});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⭐ New default

server: {
headers: {
'Cross-Origin-Embedder-Policy': 'require-corp',
'Cross-Origin-Embedder-Policy': 'credentialless',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⭐ New default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant