From 76da2a135568f34a59958c7763be2ed0753ff611 Mon Sep 17 00:00:00 2001 From: Tanguy Le Faucheur Date: Fri, 16 Feb 2024 15:46:08 +0100 Subject: [PATCH] =?UTF-8?q?Force=20une=20valeur=20par=20d=C3=A9faut=20lors?= =?UTF-8?q?=20de=20la=20compression?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.php b/app.php index d5f8881..83dd30b 100644 --- a/app.php +++ b/app.php @@ -401,6 +401,8 @@ $f3->route ('POST /compress', $compressionType = '/printer'; } elseif ($compressionType === 'high') { $compressionType = '/screen'; + } else { + $compressionType = '/screen'; } $arrayPath = array_keys($files);