diff --git a/build/index.html b/build/index.html index b7d86b6..770147e 100644 --- a/build/index.html +++ b/build/index.html @@ -1 +1 @@ -Git Statistics
\ No newline at end of file +Git Statistics
\ No newline at end of file diff --git a/scripts/add-local.js b/scripts/add-local.js index 554f5a4..1f58f63 100644 --- a/scripts/add-local.js +++ b/scripts/add-local.js @@ -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=[]${content}`); +const text = html.replace(/<\/title>/gim, `${content}`); fs.writeFileSync('../build/index.html', text);