mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
remove template literal
This commit is contained in:
parent
efeade2125
commit
eb5923a82d
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ if (endPoint) {
|
|||
|
||||
const tracker = fs.readFileSync(file);
|
||||
|
||||
fs.writeFileSync(path.resolve(file), tracker.toString().replace(/\/api\/send/g, `${endPoint}`));
|
||||
fs.writeFileSync(path.resolve(file), tracker.toString().replace(/\/api\/send/g, endPoint));
|
||||
|
||||
console.log(`Updated tracker endpoint: ${endPoint}.`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue