X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster.pm;h=185017b82b38cf1abe9445621ec75367887f3507;hb=04e47680d638b0bfef994e49b5ef90a88ff9103d;hp=c590bc9e2309977edb92554854dd0e66c8605e8b;hpb=475c1980deabb744df8a4878b25522f1edd4f5fc;p=gruntmaster-page.git diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index c590bc9..185017b 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -18,7 +18,6 @@ use Plack::App::Gruntmaster::HTML; use warnings NONFATAL => 'all'; no warnings 'illegalproto'; -no if $] >= 5.017011, warnings => 'experimental::smartmatch'; ################################################## @@ -34,6 +33,7 @@ use constant CONTENT_TYPES => +{ pas => 'text/x-pascal', pl => 'text/x-perl', py => 'text/x-python', + l => 'text/plain', }; use constant FORMAT_EXTENSION => {