Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
wayfarer3130 wants to merge3 commits intohttp-party:master
base:master
Choose a base branch
Loading
fromwayfarer3130:feat/js-configuration-file

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.

@wayfarer3130wayfarer3130 changed the titlefeat(http-server):Add a configuration file to store frequently used configuration valuesfeat(http-server):Add a configuration file to store frequently used configuration values #770Dec 2, 2021
@github-actions
Copy link

This pull request has been inactive for 360 days

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@wayfarer3130

[8]ページ先頭

©2009-2025 Movatter.jp