]> iEval git - gruntmaster-page.git/blobdiff - lib/Plack/App/Gruntmaster.pm
Make CSS/JS links end with .css/.js
[gruntmaster-page.git] / lib / Plack / App / Gruntmaster.pm
index 508a81c9905cc22da6f14fec06259fb6be22a353..a0711013f99fec760e5b36f50cb8f77ce495da7e 100644 (file)
@@ -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';
 
This page took 0.02064 seconds and 4 git commands to generate.