This commit is contained in:
bakhirev 2024-09-07 01:55:28 +03:00
parent a0fe6660c1
commit c493027f24
2 changed files with 2 additions and 3 deletions

View file

@ -12,6 +12,5 @@ prefixes.forEach((prefix) => {
const content = paths.join('');
const html = fs.readFileSync('../build/index.html', 'utf8');
const text = html
.replace(/var\sreport=\[]<\/script>/gim, `var report=[]</script>${content}`);
const text = html.replace(/<\/title>/gim, `</title>${content}`);
fs.writeFileSync('../build/index.html', text);