diff --git a/pageUpdater.js b/pageUpdater.js index b319cdf..8efc628 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -112,7 +112,8 @@ function converter(html, query) { "RELOAD_COUNT": reloads, "WEATHER_MODIFIER": "", "WEATHER_TEXT": "", - "ANNOUNCEMENT": fs.readFileSync(path.join(__dirname, "config/announcement.html")) + "ANNOUNCEMENT": fs.readFileSync(path.join(__dirname, "config/announcement.html")), + "CACHED_IMAGES": fs.readdirSync(path.join(__dirname, "cached")).length.toString() } replacers.ALL_KEYWORDS = "{" + Object.keys(replacers).join("}{") + "} " diff --git a/static/stats/index.html b/static/stats/index.html index baf139d..b231b68 100644 --- a/static/stats/index.html +++ b/static/stats/index.html @@ -35,7 +35,13 @@