cnpm / cnpmcore

Private NPM Registry for Enterprise
https://npmmirror.com
MIT License
607 stars 80 forks source link

fix: should set OPTIONS on access-control-allow-methods #608

Closed fengmk2 closed 11 months ago

fengmk2 commented 11 months ago

Access to fetch at 'https://registry.npmmirror.com/isstream/-/isstream-0.1.0.tgz' from origin 'https://foo.com' has been blocked by CORS policy: Method OPTIONS is not allowed by Access-Control-Allow-Methods in preflight response.