abi / abi/screenshot-to-code

Support .mov for video upload

Abierto
#384 2 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
78.7k
Forks
9.6k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.