node-red-contrib-static

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

Usage no npm install needed!

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

README

node-red-contrib-static

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

flow

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. e.g.: prefix/*

LICENSE

ISC

Contact

node-red@digitalarsenal.io