mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-03-26 23:15:53 +08:00
12 lines
337 B
Python
12 lines
337 B
Python
from aiohttp import web
|
|
|
|
from app import user_manager
|
|
|
|
ROUTES = web.RouteTableDef()
|
|
USER_MANAGER: user_manager.UserManager | None = None
|
|
|
|
def register_assets_system(app: web.Application, user_manager_instance: user_manager.UserManager) -> None:
|
|
global USER_MANAGER
|
|
USER_MANAGER = user_manager_instance
|
|
app.add_routes(ROUTES)
|