Skip to content

Conversation

wayfarer3130
Copy link

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 wayfarer3130 changed the title feat(http-server):Add a configuration file to store frequently used configuration values feat(http-server):Add a configuration file to store frequently used configuration values #770 Dec 2, 2021
@github-actions
Copy link

This pull request has been inactive for 360 days

@github-actions github-actions bot added the stale label Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant