Skip to content

fix Cannot create a SharedArrayBuffer problem#3285

Closed
Indhiraraj wants to merge 8 commits intoprocessing:developfrom
Indhiraraj:bugfix/indhiraraj/sharedArrayBuffer
Closed

fix Cannot create a SharedArrayBuffer problem#3285
Indhiraraj wants to merge 8 commits intoprocessing:developfrom
Indhiraraj:bugfix/indhiraraj/sharedArrayBuffer

Conversation

@Indhiraraj
Copy link

Fixes #2094

Changes:
Screenshot from 2024-11-28 20-56-54

  1. Added Security Headers:
    Implemented 'Cross-Origin-Embedder-Policy': 'require-corp' and 'Cross-Origin-Opener-Policy': 'same-origin' in both server.js and previewServer.js to enhance cross-origin security and enable origin isolation.
  2. Configured Proxy:
    Created a proxy middleware to handle requests to the preview server, enabling communication despite the strict cross-origin policies.
  3. New Environment Variable:
    Introduced a new environment variable PREVIEW_SERVER_URL (e.g., localhost:8000/preview) that points to the proxy for preview server requests.
  4. Updated Client-Side Code:
    Replaced all references to PREVIEW_URL in the client code with the newly introduced PREVIEW_SERVER_URL, ensuring compatibility with the proxy setup.
  5. Updated Environment Example File:
    Added the new PREVIEW_SERVER_URL variable to the .env.example file to maintain consistency and support for future setups.

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123

@Indhiraraj
Copy link
Author

Hi @raclim ,
Just a gentle reminder about this PR. Let me know if any changes are needed or if there's anything I can assist with to get it reviewed. Thank you for your time!

@raclim raclim added Type:Task Tasks tied specifically to developer operations and maintenance Bug Error or unexpected behaviors labels Mar 6, 2025
@raclim
Copy link
Collaborator

raclim commented Feb 19, 2026

Thanks so much for working on this issue!

I'm really sorry for the delay in getting back to this and for letting this PR go stale. Since a bit of time has passed, we might not move forward with this PR, but am definitely open to resubmission if you're still interested in this issue! I'm so sorry again for the delay on this!

@raclim raclim closed this Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Error or unexpected behaviors Type:Task Tasks tied specifically to developer operations and maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot create a SharedArrayBuffer

2 participants