Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: more specific
ignore
regex default (#88)
* Fix ignore of requests with extensions Before this change: If a URL happens to contain a `.` but it's not a request to a file, it'll be ignored (a 404 is returned). E.g. http://localhost:5000/51.89768130456134,-8.470441788798238. The regex now only matches if the path contains valid filename characters all the way from the slash til the end, not just at the end. * Update index.js * fix: update `ignore` regexp; - still follows slash - still disallows comma-delimited segment - fix: allows any number of dot-delimited segments Co-authored-by: Luke Edwards <luke.edwards05@gmail.com>
- Loading branch information