From 57da29fe22455437d6075a6959bc9a924c6a64e9 Mon Sep 17 00:00:00 2001 From: Ludovic <54670129+lbr38@users.noreply.github.com> Date: Wed, 1 Nov 2023 17:25:31 +0100 Subject: [PATCH 1/2] patch --- www/controllers/Repo/Package.php | 1 - www/public/custom_errors/custom_404.html | 2 +- www/public/custom_errors/custom_413.html | 2 +- www/public/custom_errors/custom_50x.html | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/www/controllers/Repo/Package.php b/www/controllers/Repo/Package.php index 33f9db3b..b8d4b4e7 100644 --- a/www/controllers/Repo/Package.php +++ b/www/controllers/Repo/Package.php @@ -178,7 +178,6 @@ public function upload(int $snapId, $packages) * If there has been no error so far, then we can move the file to its final location */ if ($uploadError == 0 and file_exists($packageTmpName)) { - /** * Create the target dir */ diff --git a/www/public/custom_errors/custom_404.html b/www/public/custom_errors/custom_404.html index 60c0447e..a7fff54f 100644 --- a/www/public/custom_errors/custom_404.html +++ b/www/public/custom_errors/custom_404.html @@ -2,7 +2,7 @@