This Node-RED node allows serving static files from local directories over HTTP/HTTPS.
npm i node-red-contrib-static
Input the directory path that will act as the root in the input field folder
. NOTE: make sure to put a wildcard in the HTTP/HTTPS node path after the root url path, so that the file / directory names are passed to the static node. e.g.: prefix/*