• Stefy Lanza (nextime / spora )'s avatar
    Separate API endpoints into vidai/api.py · a8111d9e
    Stefy Lanza (nextime / spora ) authored
    - Created vidai/api.py with Flask Blueprint for all /api/* and /admin/api/* routes
    - Moved API authentication decorators and helper functions to api.py
    - Removed API routes from web.py and registered the API blueprint
    - Set server_dir in api.py from web.py arguments
    a8111d9e
api.py 12.9 KB