credentialSecret

hi
i'm trying to set credentialSecret, in preparation to moving my installation to a new Pi.
I uncomment the credentialSecret line in settings.js, and put in my secret password.

On restart i get
credentialSecret: 'xxxxxxxx',
^^^^^^^^^^^^^^^

SyntaxError : unexpected identifier

i cant see anything wrong syntactically...but i'm not good at js...

any advice please?

That error usually means there is a comma missing in-between it and the previous setting.

:smile:
thanks. I thought it may have been that but my js is not that good...
ought that stray comma be included in the template?