@@ -82,7 +82,7 @@ |
||
| 82 | 82 | |
| 83 | 83 | $this->headers['Content-Description'] = ['File Transfer']; |
| 84 | 84 | $this->headers['Content-Type'] = [$mimetype]; |
| 85 | - $this->headers['Content-Disposition'] = ['attachment; filename="' . $filename . '"']; |
|
| 85 | + $this->headers['Content-Disposition'] = ['attachment; filename="' . $filename . '"']; |
|
| 86 | 86 | $this->headers['Expires'] = [0]; |
| 87 | 87 | $this->headers['Cache-Control'] = ['must-revalidate']; |
| 88 | 88 | $this->headers['Pragma'] = ['public']; |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | use Platine\Framework\Demo\Action\HomeAction; |
| 5 | 5 | use Platine\Route\Router; |
| 6 | 6 | |
| 7 | -return [static function (Router $router): void { |
|
| 7 | +return [static function(Router $router): void { |
|
| 8 | 8 | $router->get('/', HomeAction::class, 'home'); |
| 9 | 9 | $router->get('/download', DownloadAction::class, 'download'); |
| 10 | 10 | }]; |