Skip to content

Commit 45e47a5

Browse files
authored
fix(animeko): 迁移镜像域名 (#451)
镜像域名已被 DNS 污染,服务迁至新域名,直接替换镜像域名两处(mirrorBase / mirrorUrl)。
1 parent 70d4f50 commit 45e47a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

danmu_api/sources/animeko.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default class AnimekoSource extends BaseSource {
8181
*/
8282
_getSubjectServerPriority() {
8383
const officialBase = "https://api.bgm.tv";
84-
const mirrorBase = "https://api.bangumi.lol";
84+
const mirrorBase = "https://api.bangumi.pro";
8585
// 获取可能被代理的官方 URL
8686
const proxyOfficialBase = this._applyProxyForSearch(officialBase);
8787

@@ -350,7 +350,7 @@ export default class AnimekoSource extends BaseSource {
350350
while (true) {
351351
const searchPath = `/v0/search/subjects?limit=${limit}&offset=${offset}`;
352352
const officialUrl = `https://api.bgm.tv${searchPath}`;
353-
const mirrorUrl = `https://api.bangumi.lol${searchPath}`;
353+
const mirrorUrl = `https://api.bangumi.pro${searchPath}`;
354354

355355
// 获取可能被代理的官方 URL
356356
const proxySearchUrl = this._applyProxyForSearch(officialUrl);

0 commit comments

Comments
 (0)