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

make opfs available in web worker #107

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Conversation

crwen
Copy link
Contributor

@crwen crwen commented Nov 27, 2024

Fusio can not get Window in web worker now, resulting in opfs root directory is not available. This PR make opfs root directory available in web worker

https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers#web_workers_api

https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/navigator

@crwen crwen requested a review from ethe November 27, 2024 03:27
@ethe ethe merged commit af66ff6 into tonbo-io:main Nov 27, 2024
3 checks passed
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.

2 participants