mirror of
https://github.com/barkeser2002/offline-db.git
synced 2026-09-25 04:19:53 +03:00
This commit marks a significant refactoring and improvement of the entire Flask application. Key changes include: - Restructured the application from a single file into a scalable multi-file structure using Blueprints for UI and API separation. - Migrated all inline HTML strings into dedicated template files in a `templates/` directory, using `render_template`. - Patched a critical Server-Side Request Forgery (SSRF) vulnerability in the `/api/proxy` endpoint by implementing a domain whitelist. - Implemented a dynamic homepage that fetches and displays data from the Jikan API. - Migrated the database engine from MyISAM to InnoDB. - Added a `.gitignore` file and removed all `__pycache__` directories and log files to clean up the repository. - Implemented a video link refresh mechanism (`refresh=true`).