mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 18:26:20 +01:00
fix: use new script name in update-tracker.js
This commit is contained in:
parent
dfae0c150d
commit
e19d612db2
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user