Closed jcebel closed 8 years ago
@yashha my current solution is:
fs.writeFileSync(require('path').resolve('./cfg/config.json'), JSON.stringify(params, null, 4));
I don't know what the purpose if the __dirname
variable is. Can you explain?
alright thanks
Can you fix it today? important! :)
There is a fix in the current pull request. I don't know if it helps because our database access is still messed up due to missing information from A about token / post requests
Thanks :)
@yashha suggests the following, so people get no problem if the config.json does not exist at the beginning. Please implement or at least comment on this proposal if your not gonna implement it