From 1774c1eeff6d134bc90b555dadec82a63c8abf66 Mon Sep 17 00:00:00 2001 From: Mathieu Date: Thu, 11 Jan 2024 12:42:34 +0000 Subject: [PATCH] apiUrl option --- src/MultiDownloaderClient.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/MultiDownloaderClient.php b/src/MultiDownloaderClient.php index e6807d9..fb4b99e 100644 --- a/src/MultiDownloaderClient.php +++ b/src/MultiDownloaderClient.php @@ -16,6 +16,10 @@ class MultiDownloaderClient } $this->apiKey = $apiKey; + + if (!empty($options['apiUrl'])) { + $this->apiUrl = $options['apiUrl']; + } } public function downloadAsString(array $files)