Skip to content

Commit

Permalink
Merge pull request #69 from joshbmarshall/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
sifex authored Jan 29, 2024
2 parents 0b0fbf8 + 5c60666 commit d32e5c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BunnyCDNClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct(string $storage_zone_name, string $api_key, string $

private static function get_base_url($region): string
{
return match ($region) {
return match (strtolower($region)) {
BunnyCDNRegion::NEW_YORK => 'https://ny.storage.bunnycdn.com/',
BunnyCDNRegion::LOS_ANGELAS => 'https://la.storage.bunnycdn.com/',
BunnyCDNRegion::SINGAPORE => 'https://sg.storage.bunnycdn.com/',
Expand Down

0 comments on commit d32e5c5

Please sign in to comment.