]> iEval git - gruntmaster-page.git/blobdiff - lib/Gruntmaster/Page/Src.pm
Make Gruntmaster::Page::Base::variants not need overriding
[gruntmaster-page.git] / lib / Gruntmaster / Page / Src.pm
index b7b94332b3ec0a18a9343dae0300e5192d9b1606..6dd5a9c2ad29dc5201a89786628ce2488fa5500b 100644 (file)
@@ -22,9 +22,7 @@ sub generate{
        debug $env => "Contest is $ct, job is $job and extension is $ext";
        local $Gruntmaster::Data::contest = $ct if $ct;
 
-       [200, ['Content-Type' => CONTENT_TYPES->{$ext}, 'Cache-Control' => 'max-age=604800'], [job_inmeta($job)->{files}{prog}{content}] ]
+       [200, ['Content-Type' => CONTENT_TYPES->{$ext}, 'Cache-Control' => 'max-age=604800', 'X-Forever' => 1], [job_inmeta($job)->{files}{prog}{content}] ]
 }
 
-sub variants{ [[file => 1, undef, undef, undef, undef, undef]] }
-
 1
This page took 0.021342 seconds and 4 git commands to generate.