通过在目标 URL 前加上代理前缀来解决跨域。
http://linuxrun-cors.hf.space/<目标URL>
GET http://linuxrun-cors.hf.space/https://api.github.com/users/octocat
GET http://linuxrun-cors.hf.space/https://jsonplaceholder.typicode.com/posts/1
GET/POST/PUT/DELETE 等常见方法。PORT 环境变量修改端口(默认 4399)。将真实 API 地址拼接在 http://linuxrun-cors.hf.space/ 后即可。