mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
11 lines
183 B
JavaScript
11 lines
183 B
JavaScript
|
require('dotenv').config();
|
||
|
const { sendTelemetry } = require('./telemetry');
|
||
|
|
||
|
async function run() {
|
||
|
if (!process.env.DISABLE_TELEMETRY) {
|
||
|
await sendTelemetry();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
run();
|