13 Commits
Author SHA1 Message Date
PozzettiAndrea 65ff2c4088 Drop the dead WEB_DIRECTORY: pyproject is the single web declaration
The frontend directory is declared once, in pyproject.toml as
`[tool.comfy] web = "javascript"`. This `WEB_DIRECTORY = "./web"` pointed at
a directory that no longer exists -- it was left behind when the JS moved to
javascript/ -- so it is dead today. It is also a trap.

ComfyUI registers the web folder in TWO independent code paths, and they key
the same dict differently (nodes.py):

    pyproject [tool.comfy] web  ->  EXTENSION_WEB_DIRS[project.name]   (:2280)
    WEB_DIRECTORY               ->  EXTENSION_WEB_DIRS[module_name]    (:2289)

They are separate `if` blocks guarded by os.path.isdir(), not a fallback
chain, and project.name is rarely the directory name. So the moment a `web/`
directory exists again -- a revert, a merge, a stray file -- BOTH paths
register the same folder under two different keys. GET /extensions then lists
every file twice, the browser imports each twice, and app.registerExtension
runs twice with the same name: the collision the javascript test level exists
to catch, and invisible to it, because the duplication is in registration
rather than in source.

Removing the stale declaration makes that unreachable instead of dormant.
2026-08-24 15:31:59 +02:00
Andrea Pozzetti 0ddd254ce7 windows fix 2025-11-14 18:53:35 +00:00
Andrea Pozzetti 2a040b06fc added new tests 2025-11-14 18:28:20 +00:00
Andrea Pozzetti 80cca20d4d resolve conflicts with sam2 nodes 2025-11-11 19:06:09 +00:00
Andrea Pozzetti 6c31e78971 updated readme 2025-11-11 21:00:32 +00:00
Andrea Pozzetti 53b385c9ea updated prestartup script - better index page - changed workflows 2025-11-11 18:32:21 +00:00
Andrea Pozzetti 8f3b7504ab removed flash attn from florence2 2025-11-10 03:24:30 +00:00
Andrea Pozzetti 94cd15c349 added tests 2025-11-09 22:05:47 +00:00
Andrea Pozzetti afe22d3211 updated ground mask model nodes 2025-11-07 19:02:15 +00:00
Andrea Pozzetti d856842d37 added dynamic inputs 2025-11-05 22:22:23 +00:00
Andrea Pozzetti 3beca924a6 added sam2, saving models to comfyui model folders 2025-11-03 19:21:47 +00:00
Andrea Pozzetti 5f0199ced7 first version finished 2025-10-22 23:48:58 +00:00
Andrea Pozzetti 3884d3d5cf first draft 2025-10-22 19:15:53 +00:00