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

Method PROPFIND is not allowed by Access-Control-Allow-Methods in preflight response #32

Open
sytolk opened this issue Jul 6, 2022 · 1 comment

Comments

@sytolk
Copy link

sytolk commented Jul 6, 2022

Methods option is skipped from cors lib: https://github.com/expressjs/cors#configuration-options

I have Access-Control-Allow-Origin: * in server responce but its not enough..

Access to XMLHttpRequest at 'http://localhost:8010/proxy/webdav/server/.ts/' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: Method PROPFIND is not allowed by Access-Control-Allow-Methods in preflight response.

@wennerryle
Copy link

Hey, I forked this repository for the same reason.
You may be interested in this package: proxy-cors-cli It's support WebDAV / CalDAV HTTP methods.

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