refactor(api): extract internal route helpers

Extracts directory validation logic into helper functions to improve code reusability and maintainability.
This commit is contained in:
Benjamin Lu 2025-12-20 11:30:10 -08:00
parent be9895e92b
commit 138241b406

View File

@ -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