X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster.pm;h=a0711013f99fec760e5b36f50cb8f77ce495da7e;hb=4fffff7c5a0669e2860cf1428f8f4c4f9fddabea;hp=508a81c9905cc22da6f14fec06259fb6be22a353;hpb=21d3525127c2c7aeb0b8a7266125681aed90d998;p=plack-app-gruntmaster.git diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index 508a81c..a071101 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -58,11 +58,11 @@ BEGIN{ my $word = qr,(\w+),a; my $ct = qr,(?:\/ct/$word)?,a; - get qr,/css/$word, => 'CSS'; - get qr,/js, => 'JS'; + get qr,/css/$word\.css, => 'CSS'; + get qr,/js\.js, => 'JS'; get qr,/ct/, => 'Ct'; - get qr,/ct/$word, => 'Ct::Entry'; + get qr,/ct/$word/, => 'Ct::Entry'; get qr,/us/, => 'Us'; get qr,/us/$word, => 'Us::Entry';