mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Revert to script.js.
This commit is contained in:
parent
4de884010a
commit
9c2bfe8956
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/tracker.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