适配Server酱APP分支(Server酱³),移除已废弃的旧版api入口 (#2524)

This commit is contained in:
Easy
2024-10-10 22:09:00 +08:00
committed by GitHub
parent 6ea8d361fd
commit 71dd82f74e
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -151,9 +151,9 @@ export default class NotificationService {
private async serverChan() {
const { serverChanKey } = this.params;
const url = serverChanKey.startsWith('SCT')
? `https://sctapi.ftqq.com/${serverChanKey}.send`
: `https://sc.ftqq.com/${serverChanKey}.send`;
const url = serverChanKey.startsWith('sctp')
? `https://${serverChanKey}.push.ft07.com/send`
: `https://sctapi.ftqq.com/${serverChanKey}.send`;
try {
const res: any = await got
.post(url, {