Merge pull request #1910 from jonaskuske/patch-1

fix: use new script name in update-tracker.js
This commit is contained in:
Mike Cao 2023-04-18 09:51:15 -07:00 committed by GitHub
commit 3d64985f1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);