Update devcontainer.json and MultiDownloaderClient.php
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
941202e925
commit
de205f9870
@ -3,8 +3,8 @@
|
||||
"image": "rg.fr-par.scw.cloud/kubernetes/devcontainer:php-8.3",
|
||||
"containerEnv": {
|
||||
"MULTI_DOWNLOADER_ACCESS_KEY": "YOUR_API_KEY",
|
||||
"MULTI_DOWNLOADER_SECRET_KEY": "YOUR_API_SECRET_KEY",
|
||||
"MULTI_DOWNLOADER_URL": "https://multi-dl.kub.nwb.fr"
|
||||
"MULTI_DOWNLOADER_SECRET_KEY": "YOUR_API_SECRET_KEY"
|
||||
// "MULTI_DOWNLOADER_URL": "https://multi-dl.kub.nwb.fr"
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
|
@ -34,7 +34,7 @@ class MultiDownloaderClient
|
||||
}
|
||||
$this->apiSecret = $apiSecret;
|
||||
|
||||
$this->url = $options['url'] ?? getenv('MULTI_DOWNLOADER_URL') ?? 'https://multi-dl.kub.nwb.fr';
|
||||
$this->url = $options['url'] ?? getenv('MULTI_DOWNLOADER_URL') ?: 'https://multi-dl.kub.nwb.fr';
|
||||
}
|
||||
|
||||
public function setFiles(array $files)
|
||||
|
Loading…
Reference in New Issue
Block a user