Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
remove template literal
Francis Caoeb5923a82d8d
diff --git a/scripts/update-tracker.js b/scripts/update-tracker.jsindex 8751b14cd..4dcbf2457 100644--- a/scripts/update-tracker.js+++ b/scripts/update-tracker.js@@ -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}.`);}