2 comments (2 comments)0 reactions (0 reactions)0 assignees (0 assignees)HTML1,746 stars (1,746 stars)3,102 forks (3,102 forks)batch import
help wanted
Description
报错信息, 图片是jpg格式,大小1.2M,已经上传附件。 {"error":"File type invalid"}%
Contributor guide
- Tech stack
- javascriptcloudflare
- Domain
- backend
- Issue type
- bug
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 2
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 1-3 hours
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- fresh
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- unclear
- Prerequisites
- basic JavaScriptCloudflare Pages
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 40
- Research direction
- Review the file type validation logic in the Cloudflare Pages function. The error 'File type invalid' suggests a whitelist check on MIME types or extensions. Check if 'image/jpeg' is allowed and if the validation is case sensitive. Look in the repository's serverless function code (likely in /functions or /api).