Closed yoerayo closed 3 years ago
Thanks @yoerayo! Looks like this enhancement will obviate the symlink workarounds necessary to configure domains and not just TLDs. I'm going to merge as is and then add a note to the readme.
Will cut a new release in the next few days after kicking the tires a bit.
The current implementation of puma-dev doesn't actually take the configured domains into account when resolving apps, so anything other than a very simple TLD fails to resolve properly. This PR attempts to remove the configured TLDs from the requested host before falling back to the old method of just stripping everything after and including the last period from the host.