允许 npx

作者: nightpool创建于 2024年12月6日更新于 2025年6月19日

运行 `npx cors-anywhere` 会产生错误 "无法确定要运行的可执行文件"。据推测,解决此问题的方法只是在 package.json 中包含 `"main": "server.js"`。

内容来源: Rob--W/cors-anywhere