http-server icon indicating copy to clipboard operation
http-server copied to clipboard

feat(http-server):Add a configuration file to store frequently used configuration values #770

Open wayfarer3130 opened this issue 3 years ago • 1 comments

This is a simple change to be able to configure http-server via a javascript file. This change in particular allows replacing the before methods to perform more complex configuration tasks. It is theoretically possible to do that in nconf, but it doesn't support JavaScript out of the box, and some sort of more complex configuration is required to do things like renaming the path on the fly, or writing a non-GET handler, dynamically computing time to cache etc.

wayfarer3130 avatar Dec 01 '21 18:12 wayfarer3130

This pull request has been inactive for 360 days

github-actions[bot] avatar Nov 28 '22 12:11 github-actions[bot]