mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
适配Server酱APP分支(Server酱³),移除已废弃的旧版api入口 (#2524)
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user