-
Notifications
You must be signed in to change notification settings - Fork 15
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
Please consider using fetch instead of XMLHttpRequest #29
Comments
hmmm, we only use We use |
Sorry, I should have checked the code first. Yes, you are right, it is an issue with cross-fetch. Found an old one on their GitHub repo: lquixada/cross-fetch#69 I am not sure what would be the optimal solution here. For now, I am unable to use alby-tools in cloudflare workers. |
After reading through the cross-fetch repo, it doesn't seem that the project is maintained. Would you consider moving to https://www.npmjs.com/package/@inrupt/universal-fetch instead. Thanks. |
Fixed in #32 Thanks @fishcakeday ! |
All modern browsers support fetch, and using XMLHttpRequest is no longer necessary. This will also make the tools compatible with the edge environments (e.g., Cloudflare Workers).
The text was updated successfully, but these errors were encountered: