node-red-contrib-static 1.1.0

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

npm install 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

[email protected]

Node Info

Version: 1.1.0
Updated 1 year, 9 months ago
License: ISC
Rating: 5.0 1

Actions

Rate:

Downloads

25 in the last week

Nodes

  • static

Keywords

  • node-red
  • static
  • express-static
  • webserver
  • node
  • nodejs

Maintainers