File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,12 @@ BunnyCDNRegion::SINGAPORE = 'sg';
91
91
92
92
# Oceania
93
93
BunnyCDNRegion::SYDNEY = 'syd';
94
+
95
+ # Africa
96
+ BunnyCDNRegion::JOHANNESBURG = 'jh';
97
+
98
+ # South America
99
+ BunnyCDNRegion::BRAZIL = 'br';
94
100
```
95
101
96
102
## Contributing
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ private static function get_base_url($region): string
36
36
BunnyCDNRegion::SYDNEY => 'https://syd.storage.bunnycdn.com/ ' ,
37
37
BunnyCDNRegion::UNITED_KINGDOM => 'https://uk.storage.bunnycdn.com/ ' ,
38
38
BunnyCDNRegion::STOCKHOLM => 'https://se.storage.bunnycdn.com/ ' ,
39
+ BunnyCDNRegion::BRAZIL => 'https://br.storage.bunnycdn.com/ ' ,
40
+ BunnyCDNRegion::JOHANNESBURG => 'https://jh.storage.bunnycdn.com/ ' ,
39
41
default => 'https://storage.bunnycdn.com/ '
40
42
};
41
43
}
Original file line number Diff line number Diff line change @@ -18,5 +18,9 @@ class BunnyCDNRegion
18
18
19
19
public const UNITED_KINGDOM = 'uk ' ;
20
20
21
+ public const BRAZIL = 'br ' ;
22
+
23
+ public const JOHANNESBURG = 'jh ' ;
24
+
21
25
public const DEFAULT = self ::FALKENSTEIN ;
22
26
}
You can’t perform that action at this time.
0 commit comments