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 extra double quotes from replace.
Francis Caoefeade21259a
diff --git a/scripts/update-tracker.js b/scripts/update-tracker.jsindex 5c36ec52d..8751b14cd 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}.`);}