commit ba58ecd5821663b1abd0672964a0569067203474
parent f1913aba905fba7c27d0370a215794a4bc0eb995
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Sun, 14 Apr 2019 19:30:55 -0400
Improve message for existing page hit counter function
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/app.js b/server/app.js
@@ -31,7 +31,7 @@ let pageHits = {};
function read_page_hits() {
fs.readFileSync("./public/share/pageHits.json", (err, content) => {
if (err) {
- console.log("No existing page hit data.");
+ console.log("No existing hitcount data. Creating new file.");
}
else {
console.log("Reading in existing page hit data.");