Skip to content

Conversation

@shanebdavis
Copy link

I enabled the "extension" feature already present in the 'send' npm package to allow default extensions:

Example: "localhost:8080/contact" can now resolve the file "/contact.html" if the file "/contact" does not exist.

@shanebdavis
Copy link
Author

I also added a test to validate default extensions are working. All tests are passing.

@shanebdavis
Copy link
Author

@tapio Any feedback?

@yandeu
Copy link

yandeu commented Mar 25, 2021

Hi @shanebdavis

Looks nice. Feel free to add your PR to https://github.com/yandeu/five-server.

Copy link

@jlcalvano jlcalvano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does work

@jiftoo
Copy link

jiftoo commented Jul 6, 2022

Any updates on this?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants