-
Notifications
You must be signed in to change notification settings - Fork 368
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
host-to-regexp #62
Comments
With Up to @blakeembrey , ultimately :) |
@dougwilson I tend to agree for sure. I was just playing around with it and path-to-regexp has a bit more utility than vhosts also it isn't tied to a framework. Was just wondering if this is something that could potentially be an easy win for this library. |
RIght, but I'm a big 👎 to adding it to this lib, if only because the module is called path-to-regexp. |
@DylanPiercey Can you provide more information on what this would actually look like? Currently |
@blakeembrey I did some more testing and it actually seems to work for everything. Originally I thought it didn't work with with regexes and matched subdomains but it looks like it does. I'm going to close this thanks for your responses! |
Is there any consideration to allow path-to-regexp to support generating host matching regexes? As far as I can tell all that would change is that the delimiter in the regs would go from
/
to.
.This would be pretty handy for node servers handling multiple domains/subdomains.
The text was updated successfully, but these errors were encountered: