KES777 / mojo

Mojolicious - Perl real-time web framework
http://mojolicio.us
Artistic License 2.0
0 stars 0 forks source link

Non found for static files #7

Open KES777 opened 7 years ago

KES777 commented 7 years ago

If application run under prefix:

$r->any( '/api/v:api', [ api => qr/\d+/ ], { api => 1 } )->partial( 1 );

The static files are looked at:

http://myapp:3000/api/v/mojo/jquery/jquery.js

Which cause 404. Built in templates should be also moved to /api/v