mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Added postbuild script.
This commit is contained in:
parent
0d33e6d08f
commit
a249f0c6dc
3 changed files with 13 additions and 6 deletions
10
scripts/postbuild.js
Normal file
10
scripts/postbuild.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
require('dotenv').config();
|
||||
const sendTelemetry = require('./telemetry');
|
||||
|
||||
async function run() {
|
||||
if (!process.env.TELEMETRY_DISABLE) {
|
||||
await sendTelemetry();
|
||||
}
|
||||
}
|
||||
|
||||
run();
|
||||
Loading…
Add table
Add a link
Reference in a new issue