上传媒体

返回列表

配置检查步骤:

  1. 前往 Cloudflare Dashboard → Pages → cloudblog-cnj 项目
  2. 点击 "Settings" → "Functions" → "KV namespace and D1 database bindings"
  3. 确认 D1 数据库绑定: 变量名 DB
  4. 点击 "R2 bucket bindings",添加绑定: 变量名 MEDIA_BUCKET,bucket名 cloudblog-media
  5. 保存后重新部署

支持的文件类型:图片(JPG, PNG, GIF)、视频(MP4, WebM)