We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0b0fbf8 + 5c60666 commit d32e5c5Copy full SHA for d32e5c5
src/BunnyCDNClient.php
@@ -29,7 +29,7 @@ public function __construct(string $storage_zone_name, string $api_key, string $
29
30
private static function get_base_url($region): string
31
{
32
- return match ($region) {
+ return match (strtolower($region)) {
33
BunnyCDNRegion::NEW_YORK => 'https://ny.storage.bunnycdn.com/',
34
BunnyCDNRegion::LOS_ANGELAS => 'https://la.storage.bunnycdn.com/',
35
BunnyCDNRegion::SINGAPORE => 'https://sg.storage.bunnycdn.com/',
0 commit comments