mirror of
https://github.com/bakhirev/assayo.git
synced 2025-09-13 00:29:41 +00:00
update
This commit is contained in:
parent
a0fe6660c1
commit
c493027f24
2 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue