express-subdomain
express-subdomain copied to clipboard
Adds exception to '@' case
Thought it would be a nice addition to add root domains
o/ is this good? I'm not very common with tests and socializing with other humans
can you add some color to help me better understand why people would do this
Because sometimes you just want to handle the root domain, not forcibly the other ones
for instance, if I were to choose for 'api.example.com/about', id rather throw a 404 that would make sense to the dev than a successful request that would confuse them
Hello? I really want this PR to get merged, it's gonna facilitate a lot of things for me and for other people asw (I hope) @bmullan91
Hi!
So, to clarify, you can't go into any @
subdomain because in DNS it just means root.
Since it is the norm, I would expect to see it here as well