Explorar o código

move downloadable files to static

olinox14 hai 1 ano
pai
achega
b22449f0ad
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/State/Processor/CvPdfRequestProcessor.php
  2. BIN=BIN
      static/CV_Olivier_Massot.pdf

+ 1 - 1
src/State/Processor/CvPdfRequestProcessor.php

@@ -44,7 +44,7 @@ class CvPdfRequestProcessor implements ProcessorInterface
 //        }
 
         $content = (new Path($this->projectDir))
-            ->append('var', 'files', 'CV_Olivier_Massot.pdf')
+            ->append('static', 'CV_Olivier_Massot.pdf')
             ->getContent();
 
         // Build the response and attach the file to it

BIN=BIN
static/CV_Olivier_Massot.pdf