Explorar el Código

move downloadable files to static

olinox14 hace 1 año
padre
commit
b22449f0ad
Se han modificado 2 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/State/Processor/CvPdfRequestProcessor.php
  2. 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
static/CV_Olivier_Massot.pdf