I have a compliments.json
file on a remote server for the Compliments module loading that.
It worked in the beginning but after changing the language of MM2 from en
to zh-cn
, compliments cannot load the remote file then.
I have tried:
- reboot
- change back to
en
- reinstall MM2
- update
npm
but they all didn’t solve the issue.
I also found after that MM2 will be frozen (the clock is not running, the news feed won’t refresh), after launching MM2 for a while.
If put all compliments in the config without using remoteFile
, everything works fine.
{
module: "compliments",
position: "lower_third",
config: {
compliments: {
remoteFile: "http://remoteServerAddress/compliments.json"
}
}
}
And my compliments.json
:
{
"anytime": ["Expelliarmus"]
}
Need some help, thanks!