HotFix
This commit is contained in:
parent
4b0d21e494
commit
fffaecb693
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "uptimekuma-api",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "",
|
||||
"main": "src/index.js",
|
||||
"types": "src/index.d.ts",
|
||||
|
|
|
@ -23,9 +23,9 @@ module.exports = class UptimeKumaApi extends EventEmitter {
|
|||
if (this._pushTimer)
|
||||
this._pushTimer.cancel();
|
||||
this._pushTimer = setInterval(() => {
|
||||
this.push(this.baseURL+"api/push/"+code);
|
||||
this.push(this._baseURL+"api/push/"+code);
|
||||
}, interval * 1000);
|
||||
this.push(this.baseURL+"api/push/"+code);
|
||||
this.push(this._baseURL+"api/push/"+code);
|
||||
}
|
||||
|
||||
cancelPushing() {
|
||||
|
|
Loading…
Reference in a new issue