Ok, I found where was the problem and where is the problem now.
Because I am using Pi0 with Midori, with oryginal file the compliments were not show on the mirror but I was able to see them thru LAN.
So I found the solution to change:
if (this.config.remoteFile != null) {
this.complimentFile((response) => {
this.config.compliments = JSON.parse(response);
});
}
to:
if (this.config.remoteFile != null) {
this.complimentFile(
function(response){
this.config.compliments = JSON.parse(response);
});
}
and yes, that make my compliments shown on mirror but in same time the text is only from compliments.js
file.
So now, to see the compliments I have to copy own text to .js file :(
That is the problem.