Skip to content

S3 未启用时上传图片仍报"S3 图床未配置"错误 #2618

@gufei233

Description

@gufei233

Describe the bug

上传图片(POST /upload?type=image)时,无论是否启用 S3 图床功能,都会返回 S3 图床未配置或配置不完整错误。

Reproduction

  1. 进入后台设置,确保 S3 图床功能未开启 2. 在后台编辑器中上传图片 3. 接口返回 400 错误:S3 图床未配置或配置不完整

System Info

N/A

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions