@steed - You should not be modifying the compliments.js
file. Any compliments you wish to insert into the module should be specified in the config.js
file. In your case, you want to modify the config.js
file to point to your large compliments JSON file.
Roughly:
{
module: "compliments",
position: "lower_third",
config: {
remoteFile:'/home/pi/bookCompliments.json'
}
}