red-contrib-static

npm i node-red-contrib-static

Usage no npm install needed!

<script type="module">
  import redContribStatic from 'https://cdn.skypack.dev/red-contrib-static';
</script>

README

node-red-contrib-static

This Node-RED node allows serving static files from local directories over HTTP/HTTPS.



Install

npm i node-red-contrib-static



Use

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.



LICENSE

ISC



Contact

node-red@digitalarsenal.io