mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-09 22:14:34 +08:00
include internal extensions
This commit is contained in:
parent
f6af812c2d
commit
e24126d708
@ -56,7 +56,7 @@ async def deprecation_warning(request: web.Request, handler):
|
|||||||
"""Middleware to warn about deprecated frontend API paths"""
|
"""Middleware to warn about deprecated frontend API paths"""
|
||||||
path = request.path
|
path = request.path
|
||||||
|
|
||||||
if path.startswith("/scripts/ui"):
|
if path.startswith("/scripts/ui") or path.startswith("/extensions/core/"):
|
||||||
# Only warn once per unique file path
|
# Only warn once per unique file path
|
||||||
if path not in _deprecated_paths_warned:
|
if path not in _deprecated_paths_warned:
|
||||||
_deprecated_paths_warned.add(path)
|
_deprecated_paths_warned.add(path)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user