Update
This commit is contained in:
parent
61c252cfac
commit
d79193ae66
1 changed files with 1 additions and 2 deletions
3
index.js
3
index.js
|
|
@ -98,8 +98,7 @@ const reportIP = async (event, uri, country, hostname, endpoint, cycleErrorCount
|
||||||
log(0, 'Loading data, please wait...');
|
log(0, 'Loading data, please wait...');
|
||||||
|
|
||||||
// Sefinek API
|
// Sefinek API
|
||||||
await SefinekAPI();
|
// await SefinekAPI();
|
||||||
return;
|
|
||||||
if (CONFIG.SEFINEK_API.REPORT_TO_SEFIN_API && CONFIG.SEFINEK_API.INTERVAL && CONFIG.SEFINEK_API.SECRET_TOKEN) {
|
if (CONFIG.SEFINEK_API.REPORT_TO_SEFIN_API && CONFIG.SEFINEK_API.INTERVAL && CONFIG.SEFINEK_API.SECRET_TOKEN) {
|
||||||
setInterval(SefinekAPI, CONFIG.SEFINEK_API.INTERVAL);
|
setInterval(SefinekAPI, CONFIG.SEFINEK_API.INTERVAL);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue