Browse Source

move downloadable files to static

olinox14 1 year ago
parent
commit
b22449f0ad
2 changed files with 1 additions and 1 deletions
  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