封面图片api解决跨域问题.md 505 B


title: 封面图片API解决跨域问题 tags: [] id: '2563' categories:

  • - 运维 date: 2023-02-06 18:50:57 ---

新建CloudFlare转换规则

修改响应头

  • "Access-Control-Allow-Origin": "*"

  • "Access-Control-Allow-Methods": "GET,HEAD,POST,OPTIONS"

  • "Access-Control-Max-Age": "86400"