SEFINEK_API_SECRET
This commit is contained in:
parent
7a7447b6e9
commit
1d9c7bf42f
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -100,7 +100,7 @@ const reportIP = async (event, country, hostname, endpoint, userAgent, cycleErro
|
|||
await clientIp.fetchIPAddress();
|
||||
|
||||
// Sefinek API
|
||||
if (REPORT_TO_SEFINEK_API && SEFINEK_API_INTERVAL) {
|
||||
if (REPORT_TO_SEFINEK_API && SEFINEK_API_INTERVAL && process.env.SEFINEK_API_SECRET) {
|
||||
setInterval(async () => await SefinekAPI(), SEFINEK_API_INTERVAL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue