浏览代码

move downloadable files to static

olinox14 1 年之前
父节点
当前提交
b22449f0ad
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/State/Processor/CvPdfRequestProcessor.php
  2. 二进制
      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

二进制
static/CV_Olivier_Massot.pdf