Add new official mirror to yts-mirrors.json - #154
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the remote YTS mirror configuration (public/yts-mirrors.json) so clients can fetch an up-to-date list of working YTS API base URLs without requiring a rebuild.
Changes:
- Added
https://movies-api.accel.li/api/v2/to the mirror list. - Added
https://yts.gg/api/v2/to the mirror list.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -1,8 +1,10 @@ | |||
| { | |||
| "mirrors": [ | |||
| "https://movies-api.accel.li/api/v2/", // ← New Official | |||
There was a problem hiding this comment.
public/yts-mirrors.json is no longer valid JSON because it contains an inline // comment after the URL. This will prevent axios.get(REMOTE_MIRRORS_URL) from parsing data.mirrors, causing the app to silently fall back to the hardcoded mirror list and making this update ineffective. Remove the comment (or move the “New Official” note to documentation or a separate field while keeping mirrors as an array of strings).
| "https://movies-api.accel.li/api/v2/", // ← New Official | |
| "https://movies-api.accel.li/api/v2/", |
|
@copilot open a new pull request to apply changes based on the comments in this thread |
No description provided.