mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-09 04:52:32 +08:00
refactor(api): extract internal route helpers
Extracts directory validation logic into helper functions to improve code reusability and maintainability.
This commit is contained in:
parent
be9895e92b
commit
138241b406
@ -81,4 +81,4 @@ class InternalRoutes:
|
||||
self._app = web.Application()
|
||||
self.setup_routes()
|
||||
self._app.add_routes(self.routes)
|
||||
return self._app
|
||||
return self._app
|
||||
Loading…
Reference in New Issue
Block a user