Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to credentialless, bump version, load environment #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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