http-server
http-server copied to clipboard
feat(http-server):Add a configuration file to store frequently used configuration values #770
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.
This pull request has been inactive for 360 days