Hi Guys,
I really tried to find the solution to my problem myself, but for some reason I do not understand what could possibly my problem.
So what I added to settings.js
httpStatic: '/home/christian/nodered/public/'
Restarted node-red for sure and also tried different folders till now, none with success working.
My aim is to access a subfolder e.g. '/home/christian/nodered/public/birdbox/' where I've located some images:
tying to access from the same machine (used in a template as image source):
http://localhost:1880/birdbox/image.jpg
http://localhost:1880/public/birdbox/image.jpg
does not work for me.
via Machine IP from another machine, which should also work:
http://192.168.0.11:1880/birdbox/image.jpg
http://192.168.0.11:1880/public/birdbox/image.jpg
gives "Cannot GET /birdbox/image.jpg" as response.
I am really somehow stuck on that because it seems that I have troubles by using the httpStatic folder, which should be a straightforward task.
Thanks for any advice,
best regards Christian