# \#static

**URL:** https://discourse.nodered.org/tag/static/72.md

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

---

## [Settings.js httpStatic feature to pass options to express.static (non-breaking)](https://discourse.nodered.org/t/settings-js-httpstatic-feature-to-pass-options-to-express-static-non-breaking/76688)

<div class="topic-metadata">

**Author:** [@kevinGodell](https://discourse.nodered.org/u/kevinGodell)\
**Replies:** 2\
**Last updated:** [8 April 2023 13:27 UTC](https://discourse.nodered.org/t/settings-js-httpstatic-feature-to-pass-options-to-express-static-non-breaking/76688 "2023-04-08T13:27:02Z")

</div>

I would like to extend the functionality of httpStatic in settings.js to receive an options object and have that passed to express.static(filePath, options). The change would be non-breaking and give a finer control ove…
