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

Is it possible to delete a directory using client.deleteFile? #396

Open
ArteilDev opened this issue Feb 28, 2025 · 1 comment
Open

Is it possible to delete a directory using client.deleteFile? #396

ArteilDev opened this issue Feb 28, 2025 · 1 comment

Comments

@ArteilDev
Copy link

A question arose, is it possible to delete a directory (folder) using client.deleteFile?
When trying to do this, an error occurs
Access to fetch at 'http://.....' from origin 'http://localhost:5173' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
But the files are successfully deleted, without an error CORS

@perry-mitchell
Copy link
Owner

perry-mitchell commented Feb 28, 2025 via email

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

No branches or pull requests

2 participants