forked from deadvey/blogger-nodejs
@@ -32,7 +32,7 @@ export function initialise() {
|
||||
}
|
||||
catch (error) {
|
||||
console.log("Creating generic data file")
|
||||
fs.writeFileSync(`../data/data.json`, `{"hitcount": 0, "comment_counter": 0}`)
|
||||
fs.writeFileSync(`../data/data.json`, `{"hitcount": 0}`)
|
||||
}
|
||||
try {
|
||||
const config = require("../config.json");
|
||||
|
||||
Reference in New Issue
Block a user