New forum content.json init changed to {}, process priority auto set to 10

This commit is contained in:
mrfry
2021-04-21 16:13:27 +02:00
parent 7571ffe271
commit 8d3c0d7592
3 changed files with 10 additions and 1 deletions

View File

@@ -94,7 +94,7 @@ function getForumData(
}
if (!utils.FileExists(contentFilePath)) {
utils.WriteFile('[]', contentFilePath)
utils.WriteFile('{}', contentFilePath)
}
const contents = utils.ReadJSON(contentFilePath)
return {