Le mardi 16 juin 2015, 03:55:46 olivier.duc...@gmail.com a écrit : > Hello, > > I wish there was an easy way to configure a "base_path" for Mojolicious > without having to modify the application's code. > > Today the only ways to modify the base_path is to use a before_dispatch > hook or to use a plugin like M::P::RequestBase. > > But when you are use a Mojo application from CPAN like mojopaste, you are > not supposed to modify it. And anyway, a system administrator should not > have to modify the application to deploy it the way he wants. > > I think it would be great if we could set the base_path in the "listen" > string like : listen => ['http://*/prefix:3000'] > > Or we could just add a "base_path" option. >
+1 for a base_path feature ! -- Luc http://www.fiat-tux.fr/ Internet n'est pas compliqué, Internet est ce que vous en faites. -- 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 http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.