Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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