Skip to content

Commit d32e5c5

Browse files
authored
Merge pull request #69 from joshbmarshall/patch-1
2 parents 0b0fbf8 + 5c60666 commit d32e5c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BunnyCDNClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct(string $storage_zone_name, string $api_key, string $
2929

3030
private static function get_base_url($region): string
3131
{
32-
return match ($region) {
32+
return match (strtolower($region)) {
3333
BunnyCDNRegion::NEW_YORK => 'https://ny.storage.bunnycdn.com/',
3434
BunnyCDNRegion::LOS_ANGELAS => 'https://la.storage.bunnycdn.com/',
3535
BunnyCDNRegion::SINGAPORE => 'https://sg.storage.bunnycdn.com/',

0 commit comments

Comments
 (0)