abi / abi/screenshot-to-code

Support .mov for video upload

Đang mở
#384 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
78.7k
Fork
9.6k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Describe the bug**
When I upload a video with a .mov extension, the file is recognized as an image format.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to http://localhost:5173/
2. Click on file uploader
3. Select a file with a .mov extension
4. The file is recognized as an img.

**Screenshots of backend AND frontend terminal logs**
I printed the Base64 of the file and found that the prefix is data:application/octet-stream, so it is recognized as an img.

image

Here is the corresponding code

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.