paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 21ae8137bb48f22276b4addfc604f35165d099ca
parent e0b5b9557f9d43b92ab88e0cf52eeb5b4c9b3199
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sat, 30 Mar 2019 01:11:13 -0400

Change location of page hit file to be publicly accessible

Diffstat:
Mserver/app.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/app.js b/server/app.js @@ -29,7 +29,7 @@ let crypto = require("crypto"); let pageHits = {}; function save_page_hits() { - fs.writeFile("./pageHits.json", JSON.stringify(pageHits), err => { + fs.writeFile("./public/share/pageHits.json", JSON.stringify(pageHits), err => { if (err) { return console.log("Page Hit Write Error: " + err); }