Small fix for JSON
This commit is contained in:
Master-Guy authored and GitHub committed 2019-07-17 19:23:53 +02:00
1 parent c9cbc48d95
commit 6ac8c0711f
1 file changed
+1 -1
+1 -1
View File
@@ -317,7 +317,7 @@ write-data=${ path.resolve(config.instanceDirectory, instance) }\r\n
"clientPort": args["rcon-port"] || process.env.RCONPORT || Math.floor(Math.random() * 65535),
"__comment_clientPassword": "This is the rcon password. Its also used for making an instanceID. Make sure its unique and not blank.",
"clientPassword": args["rcon-password"] || Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 8),
"info": {},
"info": {}
}
console.log("Clusterio | Created instance with settings:")
console.log(instconf);