Its actually not the reason...

This commit is contained in:
MrMasrozYTLIVE 2024-06-09 09:57:11 +03:00
parent 2befd34039
commit 4a881ed721

1
app.js
View File

@ -432,6 +432,7 @@ function writeConfigToFile(filePath) {
async function readConfigFromFile(filePath) { async function readConfigFromFile(filePath) {
await fs.readFile(filePath, 'utf8', (err, data) => { await fs.readFile(filePath, 'utf8', (err, data) => {
if(err) return console.log("Error while reading config.json! ", err); if(err) return console.log("Error while reading config.json! ", err);
console.log(data)
config = JSON.parse(data); config = JSON.parse(data);
}); });
} }