diff --git a/app/Config/Mimes.php b/app/Config/Mimes.php index 7722444abe7b..7104561357e0 100644 --- a/app/Config/Mimes.php +++ b/app/Config/Mimes.php @@ -199,6 +199,7 @@ class Mimes ], 'gif' => 'image/gif', 'jpg' => [ + 'image/jpg', 'image/jpeg', 'image/pjpeg', ], diff --git a/system/Config/Services.php b/system/Config/Services.php index c0d5fcc392d2..61026de4292c 100644 --- a/system/Config/Services.php +++ b/system/Config/Services.php @@ -211,7 +211,7 @@ public static function curlrequest(array $options = [], ?ResponseInterface $resp return new CURLRequest( $config, - new URI($options['base_uri'] ?? null), + new URI($options['baseURI'] ?? null), $response, $options );