Separate API endpoints into vidai/api.py
- 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
Showing
vidai/api.py
0 → 100644
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment