I create simple express static server.
app.get("/media/:filename/" ,express.static(__dirname + /media/));
my problem is that if I want to get a file from the server the file need to be under the media/media folder.
I know that I can write
app.get("/media/:filename/" ,express.static(__dirname));
and it would work, but I look for another solution that I dont have to create the root folder to be the static server root.
I though to use redirect to another path but I think this is not good solution..