garmeeh / local-cors-proxy

Simple proxy to bypass CORS issues.
MIT License
328 stars 81 forks source link

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

Open sytolk opened 2 years ago

sytolk commented 2 years ago

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 commented 2 months ago

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.