mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
New forum content.json init changed to {}, process priority auto set to 10
This commit is contained in:
@@ -94,7 +94,7 @@ function getForumData(
|
||||
}
|
||||
|
||||
if (!utils.FileExists(contentFilePath)) {
|
||||
utils.WriteFile('[]', contentFilePath)
|
||||
utils.WriteFile('{}', contentFilePath)
|
||||
}
|
||||
const contents = utils.ReadJSON(contentFilePath)
|
||||
return {
|
||||
|
Reference in New Issue
Block a user