Dancer2-Plugin-HostSpecificRoute
view release on metacpan or search on metacpan
README.mkdn view on Meta::CPAN
- A quoted regex that will match the desired FQDNs to which the route should respond.
If you wish to have a second route that can serve as a default, be sure
to list it **after** any matching routes with the predicate. Routes without
a `host` predicate are handled normally.
# DEPENDENCIES
- [Dancer2](https://metacpan.org/pod/Dancer2)
# BUGS AND LIMITATIONS
None found so far; if you find any, please post an issue on the bug tracker
for this module.
# ACKNOWLEDGEMENTS
[GitHub](https://github.com) user [xoid](https://github.com/xoid) suggested
this functionality in [this discussion](https://github.com/PerlDancer/Dancer2/discussions/1699).
The idea intrigued me, and I'm doing something similar using a hook (which fires
on Every Single Request), so here we are.
lib/Dancer2/Plugin/HostSpecificRoute.pm view on Meta::CPAN
a C<host> predicate are handled normally.
=head1 DEPENDENCIES
=over
=item * L<Dancer2>
=back
=head1 BUGS AND LIMITATIONS
None found so far; if you find any, please post an issue on the bug tracker
for this module.
=head1 ACKNOWLEDGEMENTS
L<GitHub|https://github.com> user L<xoid|https://github.com/xoid> suggested
this functionality in L<this discussion|https://github.com/PerlDancer/Dancer2/discussions/1699>.
The idea intrigued me, and I'm doing something similar using a hook (which fires
on Every Single Request), so here we are.
( run in 0.481 second using v1.01-cache-2.11-cpan-4d50c553e7e )