koishi-plugin-maichuni-scorehelper 0.0.14-test → 0.0.15-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -26,9 +26,9 @@ class MaimaiStatus extends koishi_1.Service {
|
|
|
26
26
|
this.timer = null;
|
|
27
27
|
// 内存中保存的分组状态映射: GroupName -> GroupData
|
|
28
28
|
this.groups = new Map();
|
|
29
|
-
// API
|
|
30
|
-
this.PAGE_URL = 'https://
|
|
31
|
-
this.API_URL = 'https://
|
|
29
|
+
// API 地址常量(已切换到反向代理域名以绕过 CC)
|
|
30
|
+
this.PAGE_URL = 'https://maimaistatusreverseproxy.muxyang.com/status/maimai';
|
|
31
|
+
this.API_URL = 'https://maimaistatusreverseproxy.muxyang.com/api/status-page/heartbeat/maimai';
|
|
32
32
|
this.CACHE_FILE = path_1.default.join(__dirname, '../../monitor_cache.json');
|
|
33
33
|
this.UA = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36';
|
|
34
34
|
this.clientLogger = ctx.logger('maimai-status');
|
package/package.json
CHANGED
|
@@ -60,9 +60,9 @@ export class MaimaiStatus extends Service {
|
|
|
60
60
|
// 内存中保存的分组状态映射: GroupName -> GroupData
|
|
61
61
|
private groups: Map<string, ServiceGroup> = new Map()
|
|
62
62
|
|
|
63
|
-
// API
|
|
64
|
-
private readonly PAGE_URL = 'https://
|
|
65
|
-
private readonly API_URL = 'https://
|
|
63
|
+
// API 地址常量(已切换到反向代理域名以绕过 CC)
|
|
64
|
+
private readonly PAGE_URL = 'https://maimaistatusreverseproxy.muxyang.com/status/maimai'
|
|
65
|
+
private readonly API_URL = 'https://maimaistatusreverseproxy.muxyang.com/api/status-page/heartbeat/maimai'
|
|
66
66
|
private readonly CACHE_FILE = path.join(__dirname, '../../monitor_cache.json')
|
|
67
67
|
private readonly UA = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36'
|
|
68
68
|
|