Skip to content

Add new official mirror to yts-mirrors.json - #154

Open
Indi733 wants to merge 1 commit into
ntoporcov:masterfrom
Indi733:patch-1
Open

Add new official mirror to yts-mirrors.json#154
Indi733 wants to merge 1 commit into
ntoporcov:masterfrom
Indi733:patch-1

Conversation

@Indi733

@Indi733 Indi733 commented Mar 22, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 22, 2026 17:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread public/yts-mirrors.json
@@ -1,8 +1,10 @@
{
"mirrors": [
"https://movies-api.accel.li/api/v2/", // ← New Official

Copilot AI Mar 22, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Suggested change
"https://movies-api.accel.li/api/v2/", // ← New Official
"https://movies-api.accel.li/api/v2/",

Copilot uses AI. Check for mistakes.
@Indi733

Indi733 commented Mar 22, 2026

Copy link
Copy Markdown
Contributor Author

@copilot open a new pull request to apply changes based on the comments in this thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants