Load workflows from webm files (#2772)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
bymyself
2025-02-28 14:00:02 -07:00
committed by GitHub
parent 96768bba97
commit 792c5f2246
8 changed files with 416 additions and 1 deletions

View File

@@ -468,6 +468,7 @@ export class ComfyPage {
const getFileType = (fileName: string) => {
if (fileName.endsWith('.png')) return 'image/png'
if (fileName.endsWith('.webp')) return 'image/webp'
if (fileName.endsWith('.webm')) return 'video/webm'
if (fileName.endsWith('.json')) return 'application/json'
return 'application/octet-stream'
}