On Mon, Feb 19, 2018 at 4:15 AM, <amka1...@gmail.com> wrote:

> Hi,
> I tried things like
> app->hook(before_routes => sub {
>   my $c = shift;
>   print "Hi\n"
> });
> Changing "before_routes" with other things but impossible : I catch all
> the links except my download link  :(

I think you want before_dispatch

*Emitted right before the static file server and router start their work. *

You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to