If you start the spark server with 'node /path/to/main.js' it will create new server keys in the directory it was called from instead of reading the keys already create in /path/to/
Example:
lets say I'm in /home/pi and I do 'node ./spark-server/js/main.js' it ignores the keys it already made in /home/pi/spark-server/js and creates a new set for the server in /home/pi
@rstaph, if you would like to test the PR i sent in, look in the js --> node_modules --> spark-protocol directory and edit the settings.js file accordingly.
If you start the spark server with 'node /path/to/main.js' it will create new server keys in the directory it was called from instead of reading the keys already create in /path/to/
Example: lets say I'm in /home/pi and I do 'node ./spark-server/js/main.js' it ignores the keys it already made in /home/pi/spark-server/js and creates a new set for the server in /home/pi