mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-16 22:15:07 +00:00
Swagger now owns route registration instead of adding a second dead copy of every route; add json_body, enqueue_job, serialize_tracks and client_credential, build the serve middleware list once, and scan the users once per request.
4 lines
155 B
Python
4 lines
155 B
Python
from unshackle.core.api.routes import cors_middleware, no_5xx_middleware, setup_routes
|
|
|
|
__all__ = ["setup_routes", "cors_middleware", "no_5xx_middleware"]
|