fix: use new script name in update-tracker.js

pull/1910/head
Jonas 2023-04-18 16:29:30 +02:00 committed by GitHub
parent dfae0c150d
commit e19d612db2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const path = require('path');
const endPoint = process.env.COLLECT_API_ENDPOINT;
if (endPoint) {
const file = path.resolve(__dirname, '../public/umami.js');
const file = path.resolve(__dirname, '../public/script.js');
const tracker = fs.readFileSync(file);