mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
Merge pull request #1910 from jonaskuske/patch-1
fix: use new script name in update-tracker.js
This commit is contained in:
commit
3d64985f1a
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ const path = require('path');
|
||||||
const endPoint = process.env.COLLECT_API_ENDPOINT;
|
const endPoint = process.env.COLLECT_API_ENDPOINT;
|
||||||
|
|
||||||
if (endPoint) {
|
if (endPoint) {
|
||||||
const file = path.resolve(__dirname, '../public/umami.js');
|
const file = path.resolve(__dirname, '../public/script.js');
|
||||||
|
|
||||||
const tracker = fs.readFileSync(file);
|
const tracker = fs.readFileSync(file);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue