mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-14 11:07:24 +08:00
Replace os.scandir (top-level only) with os.walk so nested subfolders are included. Returns relative paths (e.g. '2025-01/foo.png') which the frontend's getMediaUrl already handles via subfolder param splitting. Hidden files and hidden directories (starting with '.') are pruned. Applies to all three directory types: input, output, temp. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| internal_routes.py | ||
| README.md | ||
ComfyUI Internal Routes
All routes under the /internal path are designated for internal use by ComfyUI only. These routes are not intended for use by external applications may change at any time without notice.