mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
pushDeer支持自架版
This commit is contained in:
@@ -123,8 +123,8 @@ export default class NotificationService {
|
||||
}
|
||||
|
||||
private async pushDeer() {
|
||||
const { pushDeerKey } = this.params;
|
||||
const url = `https://api2.pushdeer.com/message/push`;
|
||||
const { pushDeerKey, pushDeerUrl } = this.params;
|
||||
const url = pushDeerUrl || `https://api2.pushdeer.com/message/push`;
|
||||
const res: any = await got
|
||||
.post(url, {
|
||||
...this.gotOption,
|
||||
|
||||
Reference in New Issue
Block a user