-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
HTTP-Headers #657
Comments
And these headers are becoming very important.
https://developer.chrome.com/blog/enabling-shared-array-buffer/#cross-origin-isolation |
This needs to be addressed soon, as the Chrome 92 (to be released July 2021) will require this header configuration in order to allow SharedArrayBuffer among other features! |
Hit the issue already. |
Also having an issue with SharedArrayBuffer |
It seems like this project is abandoned. There is now a official extension created by Microsoft called "Live Preview". |
Many thanks @higoka |
Ran into the same problem with SharedArrayBuffer couldn't find a solution (MS code has the same problem) so i hacked the extension on my local drive. Find the file
above this code
Reload VSCode and you can use SharedArrayBuffer when you launch with live-server |
@AndreVanKammen Many thanks for the solution! |
@AndreVanKammen I'm using the same version but I couldn't find the code: |
@AndreVanKammen But I added your code to the following function and it worked. Still many thanks for your help!:
} |
@lolaswift That should also work indeed, I see I referenced the wrong file. Fixed it in my original comment. Be aware that the fix can be gone after an update or re-install. |
@AndreVanKammen Many thanks again. |
@lolaswift I think it has been moved to https://github.com/microsoft/vscode-livepreview |
vscode-livepreview issue is here: microsoft/vscode-livepreview#375 If people want to add their thumbs-up to gain attention |
I'm submitting a...
Current behavior
Im looking for a way to setup custom http headers for Live Server? I need to add the
service-worker-allowed
header.Expected behavior
Being able to setup custom http headers in the Live Server config.
Environment
Others
The text was updated successfully, but these errors were encountered: