remove template literal
This commit is contained in:
parent
efeade2125
commit
eb5923a82d
|
@ -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…
Reference in New Issue