mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
适配Server酱APP分支(Server酱³),移除已废弃的旧版api入口 (#2524)
This commit is contained in:
3 files changed
+9
-9
No files matched your search
@@ -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