ioBroker / ioBroker.node-red

Instantiate the server with node-red
Apache License 2.0
52 stars 27 forks source link

Wrong userDir on non-Zero instaces in 4.0.1 #366

Closed volkerrichert closed 1 year ago

volkerrichert commented 1 year ago

in Line 81 of main js

userDataDir += path.join(utils.getAbsoluteDefaultDataDir(),node-red.${adapter.instance}) + path.sep;

the dir ist added a second time, which will result in an crash. the "+=" hast to be "="

Volker

Apollon77 commented 1 year ago

Thank you! v4.0.2 on it's way with the fix

volkerrichert commented 1 year ago

Danke