Files
2025-07-14 02:07:13 +02:00

13 lines
397 B
Python

from server import PromptServer
from aiohttp import web
# Stub for the API endpoint registration.
# This decorator adds a custom URL to the ComfyUI server.
# All API logic is now cleanly separated in this file.
# @PromptServer.instance.routes.get("/mithril/gateways")
# async def test(request):
#
# return web.json_response([])
# print("✅ Mithril-Nodes: Registered custom API endpoints.")