I'm creating a "media center" for raspberry pi with node.js/express framework and I've encountered the problem.
I know how to read files from another path and all.... I display their names/info on the website without the problem using chokidar, but for example when I want to display image on the website using the file's path -
I get blank pic - If i right click on it it says
Error: Not Found
to app.js file, but it didn't help at all :/
Basically I need to be able to display pictures on a website that are out of my app's root directory - that are located on my USB drive.
Has anyone got any clue?